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

1 次查看(过去 30 天)
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.

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by