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

8 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 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 Kommentare
Stefanie Schwarz
Stefanie Schwarz am 13 Sep. 2023
Bearbeitet: Stefanie Schwarz am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by