Does MCR contain MCC?

2 visualizaciones (últimos 30 días)
Jesse Knight
Jesse Knight el 13 de Jul. de 2017
Comentada: Walter Roberson el 13 de Jul. de 2017
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:
  1. download the MCR for the SPM application in the docker image
  2. upload SPM (so far this all works)
  3. upload the source files of my application to the docker image
  4. use mcc to compile my source within the docker image.
My questions:
  1. Is this possible?
  2. Where do I find mcc within the MCR (since it is not callable as usual)?
Thanks

Respuestas (1)

Walter Roberson
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
Jesse Knight
Jesse Knight el 13 de Jul. de 2017
Thanks. Unfortunately my current version is antecedent to the version I need to run remotely, so I cannot compile to or install a future version.
Walter Roberson
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?

Iniciar sesión para comentar.

Categorías

Más información sobre Containers en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by