Is the matlab runtime compatible with files compiled with an older version of the compiler

26 views (last 30 days)
Dear support,
Is it possible to run a compilation that was compiled with an older MATLAB compiler version (e.g. R2018b or R2016b) with the current Matlab runtime version 2019b?
Kind regards,
Manuel

Accepted Answer

Walter Roberson
Walter Roberson on 15 Jan 2020
No. Compiled executables need the runtime for the exact version they were compiled with. For example r2018b Update 2 compiled is not compatible with the runtime for R2018b Update 3: must be an exact match.
  5 Comments
Stefanie Schwarz
Stefanie Schwarz on 13 Sep 2023
Edited: Stefanie Schwarz on 13 Sep 2023
One small correction: At least for more recent versions of MATLAB, compiled application are only tied to the MATLAB Runtime release, but not the specific update version.
For example, if you have compiled an application using MATLAB R2021b Update 3, the application will launch with any R2021b version (v9.11) of the MATLAB Runtime. However, whether it will work as expected is dependent on whether the application is dependent on a bug fix in that particular update.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!