It's possible the use of a MCR version different from the utilized version of Matlab Compiler?
조회 수: 7 (최근 30일)
이전 댓글 표시
For example, If I had an old version of MCR, could I use it in a file compiled with a newer version of Matlab compiler or I have to compile with the same old version of Matlab necessarily? Thanks
댓글 수: 0
채택된 답변
Walter Roberson
2016년 3월 30일
You always need the matching MCR. Always.
댓글 수: 3
Walter Roberson
2016년 3월 30일
https://www.mathworks.com/mwaccount/ and click on "Download Products". Now, over to the right, you can select older versions of MATLAB to download.
Your R2016a license entitles you to use any previous version as well.
추가 답변 (1개)
Orion
2016년 3월 30일
Hi,
An .exe made with a Matlab release will only work the associated version of the MCR.
If you want to use a newer version, you need to rebuild your exe with this version.
댓글 수: 3
Prachi Singh
2019년 4월 15일
편집: Prachi Singh
2019년 4월 15일
I also have similar doubt, so as you said an .exe made with a Matlab release will only work the associated version of the MCR. My .exe runs with version 9.3(2017b) and I have version 9.5 (2018a) so can I install only MCR of 2017b and run my .exe without installing 2017b complete matlab software.
Walter Roberson
2019년 4월 15일
Prachi Singh:
Yes, if the .exe was built for R2017b, then you can install just the MCR for R2017b and run the .exe without installing MATLAB. The .exe only need the MCR to run, and do not need MATLAB installed at all.
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!