Matlab standalone can't find mclmcrrt9_0_1.dll, even though it's in my path. Permission problem? How do I fix this?
31 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2017-6-13
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!