It is possible to run applications with a MATLAB Runtime Update level that does not match the MATLAB Release used to compile the application?
17 views (last 30 days)
Show older comments
MathWorks Support Team
on 21 Jun 2022
Edited: MathWorks Support Team
on 30 Nov 2022
A new update was recently released for MATLAB. The MATLAB Runtime available on the MathWorks website was updated accordingly to match the newest update level:
However, my standalone application was compiled using an older update of MATLAB Compiler.
Will applications compiled with an older update of MATLAB Compiler work with the newer update of MATLAB Runtime for the same release?
Accepted Answer
MathWorks Support Team
on 1 Mar 2024
Edited: MathWorks Support Team
on 30 Nov 2022
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.
See the following MATLAB Answers post for more information regarding this topic:
See also the following MATLAB Runtime Update FAQ:
0 Comments
More Answers (0)
See Also
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!