Does MCR contain MCC?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Walter Roberson
2017년 7월 13일
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
Walter Roberson
2017년 7월 13일
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?
참고 항목
카테고리
Help Center 및 File Exchange에서 Manage Products에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!