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
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
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)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Standalone Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!