Matlab runtime not found, even though path correct

조회 수: 7 (최근 30일)
Javier Acuna
Javier Acuna 2020년 10월 19일
댓글: Kojiro Saito 2020년 10월 20일
Hello everybody,
I am unable tu run an executable because it can't find the Matlab runtime, even though the PATH environment variable is correctly configured as can be seen below. How can I solve this problem?

채택된 답변

Kojiro Saito
Kojiro Saito 2020년 10월 20일
편집: Kojiro Saito 2020년 10월 20일
Did you run the execution file from the new command prompt? After changing the PATH environment, you need to open a new command prompt to reflect the PATH setting.
UPDATED
MATLAB R2015b has two versions for Windows, 32bit and 64bit. The execution file you have might be compiled with 32bit of MATLAB R2015b.
You can check the execution file is 32bit or 64bit as described the "The really simple way to check if a file is 32-bit or 64-bit" section in this link. Right click the execution file and go to "Properties". In "Compatibility" tab, check if Compatibility mode begins from Windows Vista (in this case, the execution file is 64bit) or begins from Windows XP (in this case, it is 32bit).
If the execution file is 32bit, could you try installing 32bit of MATLAB Runtime v90?
  댓글 수: 4
Javier Acuna
Javier Acuna 2020년 10월 20일
Thank you Kojiro, I installed the 32b version of the runtime and it solved my problem. Just out of curiosity: What happens if another executable needs the 64b version of R2015b? Can those two version co-exist?
Kojiro Saito
Kojiro Saito 2020년 10월 20일
Glad to hear that!
I think 32bit and 64bit can co-exist in the same machine. The executable will check the same bit version of MATLAB Runtime as MATLAB R2015b, so it will work.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 C Shared Library Integration에 대해 자세히 알아보기

태그

제품


릴리스

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by