필터 지우기
필터 지우기

Does MCR contain MCC?

조회 수: 1 (최근 30일)
Jesse Knight
Jesse Knight 2017년 7월 13일
댓글: Walter Roberson 2017년 7월 13일
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

답변 (1개)

Walter Roberson
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
Jesse Knight
Jesse Knight 2017년 7월 13일
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 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 CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by