Does MCR contain MCC?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a script which I need to run remotely using a Docker image. For compatibility with another pre-compiled MATLAB application ( SPM ), I need to use a specific MATLAB version in the Docker, and also a different OS. Thing is, I don't have access to this OS / MATLAB version to pre-compile my own script with as well.
So my proposed solution was:
- download the MCR for the SPM application in the docker image
- upload SPM (so far this all works)
- upload the source files of my application to the docker image
- use mcc to compile my source within the docker image.
My questions:
- Is this possible?
- Where do I find mcc within the MCR (since it is not callable as usual)?
Thanks
0 comentarios
Respuestas (1)
Walter Roberson
el 13 de Jul. de 2017
No, mcc is an external program that cannot be compiled for use with MCR.
If the other MATLAB version is not later than yours, then you could consider loading up a virtual machine with the OS being used, and installing the appropriate MATLAB (you can use any one that is not later than your authorized version) and doing the compiling on the virtual machine. http://osboxes.org has a number of useful virtual machines.
2 comentarios
Walter Roberson
el 13 de Jul. de 2017
In that situation if you were able to activate mcc then you would be activating mcc for a later release than you are licensed for, and that would be a licensing problem.
So... you have a problem unless you can somehow convince whomever to make an earlier MATLAB available.
Let me think... perhaps if you installed a virtual machine, and compiled your code and SPM yourself, and made that combination available to the remote Docker image?
Ver también
Categorías
Más información sobre Containers en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!