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

조회 수: 8 (최근 30일)
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

채택된 답변

Walter Roberson
Walter Roberson 2020년 1월 15일
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
Stefanie Schwarz
Stefanie Schwarz 2023년 9월 13일
편집: Stefanie Schwarz 2023년 9월 13일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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