Standalone application does not open for end users after including toolbox functionality

15 visualizaciones (últimos 30 días)
I have compiled an application for some end users that was previously working. One end user has the same MATLAB version and toolboxes that I do and another does not have MATLAB.
I recently added some functionality from a toolbox, and now the compiled application is working on my machine, but not my end users'. On their machines, the application is failing to open.
To confirm, I removed the toolbox functionality and the standalone application works again. How can I fix this?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 1 de Oct. de 2020
Starting from R2016a, the MCR can be split up into smaller components to reduce the size. It is possible that if the MCR was downloaded and only included the "numeric" sections and the addition of the toolbox required the "core" functionality of the MCR.
When distributing the standalone application to the end users, it was likely done so using only the numeric MCR, and the MCR download was available from the application. If the MCR was downloaded from the website, it would include all of the functionality and not just a subsection. Redownloading the MCR with:
>> compiler.runtime.download
in the MATLAB Command Window or downloading the MCR from the following link should resolve the issue.
 

Más respuestas (0)

Categorías

Más información sobre Downloads en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by