Standalone application not working with newer versions of Matlab runtime
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Debora Salomon Marques
el 1 de Jun. de 2020
Respondida: Harsh Tamakuwala
el 16 de Jun. de 2020
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 comentario
Mohammad Sami
el 1 de Jun. de 2020
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.
Respuestas (1)
Harsh Tamakuwala
el 16 de Jun. de 2020
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 comentarios
Ver también
Categorías
Más información sobre Standalone Applications en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!