Matlab standalone can't find mclmcrrt9_0_1.dll, even though it's in my path. Permission problem? How do I fix this?

33 visualizaciones (últimos 30 días)
I compiled a standalone version of my code (Matlab R2016a, Runtime v9.0.1), and it runs perfectly on the computer that compiled it. However, I'm having issues running the standalone on another computer. In particular when I try to run the standalone from my home directory on the target computer, I get an error message saying
Could not find version 9.0.1 of the MATLAB Runtime
Attempting to load mclmcrrt9_0_1.dll
Please install the correct version of MATLAB Runtime.
However, I do have Runtime 9.0.1 installed on the target computer (I can see C:/Program Files/MATLAB/MATLAB Runtime/v901/runtime/win64/mclmcrrt9_0_1.dll). Also, C:/Program Files/MATLAB/MATLAB Runtime/v901/runtime/win64/ is in the path on the target computer (typing 'path' in Command Prompt shows it).
Further, the standalone does run if it's located in C:/Program Files/ instead of my home directory. However this leads to a problem where I don't have write permission in C:/Program Files/, meaning the standalone crashes with a "Permission denied" error.
To sum up:
1. If I run the standalone from C:/Program Files/, the dll is found, but the standalone crashes due to permission problems.
2. If I run the standalone from my home directory, it can't find the dll.
How do I solve this?
  3 comentarios
Walter Roberson
Walter Roberson el 13 de Jun. de 2017
I do not have a compiler set up on my MS Windows systems (and Microsoft wants $4000 per year for me to add compilers.) So, No, I am not able to answer the system.

Iniciar sesión para comentar.

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