Standalone application not working with newer versions of Matlab runtime

3 次查看(过去 30 天)
Greetings,
I have made an application using the compiler package, and found out that my users need to have Matlab runtime version 9.0. First of all, I was susprise this was the case. I thought a standalone application would run in any machine without needeing Matlab runtime.
Secondly, our company provided my users with Matlab runtime V9.7. I would expect that MATLAB runtime V9.7 should support any runtime version on or BEFORE that version (at least all V9.*), but doesn't seem to be the case.
Could you please advise?
Thank you,
Debora
  1 个评论
Mohammad Sami
Mohammad Sami 2020-6-1
The version of the runtime user needs to install depends on the Matlab version that was used to compile the application. The users must install the specific version of the runtime.
If you want to use the latest version of runtime, you need to recompile the app with the current version of Matlab.

请先登录,再进行评论。

回答(1 个)

Harsh Tamakuwala
Harsh Tamakuwala 2020-6-16
The application is linked to specific version of MCR you used to compile. A newer or older MCR installed doesnt work with an app compiled in a specific version of MCR.
Alternate way to get around that is, including MCR inside your app. If you are using deploytool, you simply need to select "Add MCR" and "Embed the MCR in the package" from the Package pane. It would contain all necessary packages from MCR needed.
(Caution: This will increase the size of your app by a few hundred mbs atleast)

类别

Help CenterFile Exchange 中查找有关 Standalone Applications 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by