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.



Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索


Community Treasure Hunt

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

Start Hunting!

Translated by