필터 지우기
필터 지우기

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

조회 수: 52 (최근 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
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 CenterFile 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!

Translated by