I recently updated my Matlab and Matlab Compiler to 2019b. I compiled a script with the compiler using the new versions and when I run the executable, I get an error that the application "Could not find version 9.7 of the Matlab runtime, attempting to load mclmcrrt9_7.dll. Please install the correct version of the Matlab runtime." My question is why do I need the runtime if I have matlab installed on my computer. What am I missing in my new setup?

 Respuesta aceptada

Kojiro Saito
Kojiro Saito el 7 de En. de 2020

0 votos

If you have installed MATLAB and want to run applications compiled by MATLAB Compiler, make sure that MATLABROOT\runtime\win64 (as of Windows) is added in your environment PATH.
Where MATLABROOT is MATLAB's installation path. (for example, C:\Program Files\MATLAB\R2019b)
Related document:

1 comentario

Christopher Freitas
Christopher Freitas el 7 de En. de 2020
Thank you. I have updated my path accordingly and it now works properly.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Productos

Versión

R2019b

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by