It's possible the use of a MCR version different from the utilized version of Matlab Compiler?

조회 수: 18(최근 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

채택된 답변

Walter Roberson
Walter Roberson 2016년 3월 30일
You always need the matching MCR. Always.
  댓글 수: 3
Roberto Baraschino
Roberto Baraschino 2016년 3월 30일
편집: Roberto Baraschino 2016년 3월 30일
Thank you so much Walter, you have been very helpful.

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

추가 답변(1개)

Orion 2016년 3월 30일
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
Walter Roberson
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.

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


Find more on Introduction to Installation and Licensing in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by