필터 지우기
필터 지우기

Matlab Compiler is not linked to Matlab

조회 수: 7 (최근 30일)
Steffen Koop
Steffen Koop 2017년 8월 15일
댓글: Walter Roberson 2017년 9월 4일
Hello, I just installed Matlab and the Matlab Compiler for 2017a. I want to use the mcrinstaller because I have an executable which runs with mcr 7.13. If I type in mcrinstaller into matlab it says that there isn't a matlab compiler installed. I also added this C:\Program Files\MATLAB\MATLAB Runtime\v92\runtime\win64 to my path variable. Do I have to do something else to link matlab to the matlab compiler so that I can run the command the mcrinstaller?
Thanks for your help!
  댓글 수: 6
Steffen Koop
Steffen Koop 2017년 9월 4일
Okay, then I missunderstood it. Neverless there is the question how to run an Application which is compiled with an older Matlab version. Is there a Matlab command?
Walter Roberson
Walter Roberson 2017년 9월 4일
You need to get MCR 7.13 (for R2011b) from whom-ever created the executable you are using. The licensing for MCR was different back then: it was permitted back then to make compiled executables available for anonymous download, but access to MCR had to be controlled. You will not be able to get MCR 7.13 alone from Mathworks.
(Note: if you have a MATLAB Compiler license for any later release, you could download an earlier release of MATLAB Compiler and get MCR that way.)
There is no way to use a more up-to-date release to run something compiled with an earlier release.

댓글을 달려면 로그인하십시오.

답변 (2개)

Faiz Gouri
Faiz Gouri 2017년 8월 18일
Check if you have MCRInstaller at this location- 'C:\Program Files\MATLAB\R2017a\toolbox\compiler\deploy\win64\MCRInstaller.exe'
If not, try to re-install MATLAB and MATLAB Compiler. If that does not resolve the issue, contact MathWorks Technical Support
  댓글 수: 1
Steffen Koop
Steffen Koop 2017년 8월 21일
Thanks for your answer! There is no path like this. In "C:\Program Files\MATLAB\MATLAB Runtime\v92\toolbox" there is a "compiler" folder but also no MCRInstaller.exe . I reinstalled both a few times and I also installed them on a different Laptop but there occures to be the same error...

댓글을 달려면 로그인하십시오.


Jan
Jan 2017년 8월 21일
편집: Jan 2017년 8월 21일
The MCRInstaller is not started from inside Matlab. It is the idea of the Matlab runtime and compliled application to run independent from Matlab. So start the MCRInstaller from a shell of the operating system.
  댓글 수: 1
Steffen Koop
Steffen Koop 2017년 8월 21일
But shouldn't be there at least a MCRinstaller exe anywhere? I did not find such a Programm. Neither in the matlab compiler path nor in the matlab path

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by