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

8 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Walter Roberson
Walter Roberson el 15 de En. de 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 comentarios
Stefanie Schwarz
Stefanie Schwarz el 13 de Sept. de 2023
Editada: Stefanie Schwarz el 13 de Sept. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by