It is possible to run applications with a MATLAB Runtime update level that does not match the MATLAB update level used to compile the application?

19 views (last 30 days)
A new update was recently released for MATLAB. The MATLAB Runtime available on the MathWorks website was updated accordingly to match the newest update release number:
However, the standalone application was compiled using an older update release number of MATLAB. Will applications compiled with an older update of MATLAB work with the newer update of MATLAB Runtime for the same release, and vice-versa?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 2 May 2025
Edited: MathWorks Support Team on 2 May 2025
The compiled applications are tied to the release and not to specific updates. 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.
You can ensure compatibility by creating an application installer using our MATLAB Compiler apps such as the Application Compiler or Library Compiler. Our application installers will ensure that the installed runtime is at an update level equal to or greater than the update level of the MATLAB that created it.
For more information on distributing your compiled application with a minimal MATLAB Runtime, see:How can I distribute my standalone application with a minimal MATLAB Runtime installation?
See also the MATLAB Runtime Update FAQ.

More Answers (0)

Categories

Find more on C Shared Library Integration 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!