Backward compatibility of MCR

20 ビュー (過去 30 日間)
Julius
Julius 2013 年 6 月 10 日
The problem I have encountered is:
I compiled an EXE with Matlab compiler on my computer (version R2011a, i.e. MCR version is 7.15), and I gave this EXE to someone who installed Matlab R2012a as well as the corresponding version of MCR (i.e. 7.17).
When he tried to open the EXE, an error message was prompted saying that MCR version 7.15 was required.
Does this mean that MCR is not backward compatible, and I can only distribute my EXE programs among those who have exactly the same Matlab version as mine?
Thanks.

採用された回答

Friedrich
Friedrich 2013 年 6 月 10 日
編集済み: Friedrich 2013 年 6 月 10 日
Hi,
yes. The MCR is version specific. See 3rd bullet point here:
You can distribute the MCR installer along with your exe.
  3 件のコメント
Friedrich
Friedrich 2013 年 6 月 10 日
Sure:
The MCR is version-specific. You must run your applications with the version of the MCR associated with the version of MATLAB Compiler with which it was created. For example, if you compiled an application using version 4.10 (R2009a) of MATLAB Compiler, users who do not have MATLAB installed must have version 7.10 of the MCR installed. Use mcrversion to return the version number of the MCR.
You can install all differnt MCR/MATLAB version without any troubles. They are designed to life side by side.
Julius
Julius 2013 年 6 月 10 日
Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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