Why the user was asked to install Matlab runtime for my standalone application?

18 visualizaciones (últimos 30 días)
Dear All,
When I created a standalone application exe file, I used the selection "Runtime is included in the package". But the user got the following error meesage when he tried to run our standalone application exe file:
Error: Could not find version 9.8 of the MATLAB Runtime.
Attempting to load mclmcrrt9_8.dll.
Please install the correct version of the MATLAB Runtime.
Contact your vendor if you do not have an installer for the MATLAB Runtime.
Would anyone know how to fix this problem? Thanks a lot.
Benson

Respuesta aceptada

Mohammad Sami
Mohammad Sami el 23 de Jun. de 2020
You may have distributed the compiled exe rather then the installer. When compiling an App three directories are generated.
for_redistribution = contains an installer, which will install your application and the runtime
for_redistribution_files_only = this will contain the compiled exe, you can run this if you download and install the runtime yourself.
for_testing = ....
The "Runtime is included in the package", generates an installer which contains the necessary runtime, which is placed inside the for_redistribution folder.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing 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!

Translated by