Clear Filters
Clear Filters

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

1 view (last 30 days)
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.

Answers (1)

Sayam Ganguly
Sayam Ganguly on 7 Aug 2017
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.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!