I have a compiled m file using runtime library v7.6. Which version of matlab created it?

2 ビュー (過去 30 日間)
Cem
Cem 2017 年 6 月 28 日
コメント済み: Cem 2017 年 8 月 7 日
I need to modify a very old m file and compile it (as a com DLL) so that it will use runtime library v7.6 (user base still using this library). Which version of Matlab I need to use so that the compiled file can use this runtime library v7.6?
Is a higher version number runtime library compatible with a file compiled for a lower version of runtime library?
Thank you.

回答 (1 件)

Sayam Ganguly
Sayam Ganguly 2017 年 8 月 7 日
Hi, I assume that you are trying to compile an m file using MATLAB Compiler Runtime(MCR) v7.6. You need to use MATLAB r2007a for this m file which uses the corresponding MATLAB compiler runtime. Here's a link with more details - https://www.mathworks.com/matlabcentral/answers/102061-what-is-the-version-of-the-matlab-compiler-runtime-mcr-that-corresponds-to-the-version-of-matlab-c
The answer to your second question is No. a higher version compiler cannot be used for a file compiled for a lower version of runtime compiler. You need to use exactly the same MATLAB Compiler Runtime for it.
  1 件のコメント
Cem
Cem 2017 年 8 月 7 日
Thank you Sayam. This is exactly the answer I was looking for.

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

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by