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

18 次查看(过去 30 天)
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?

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2022-11-30
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 个)

类别

Help CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by