MATLAB Answers

0

Finding the Runtime library

Leigh Sneddon さんによって質問されました 2019 年 9 月 19 日
最新アクティビティ Leigh Sneddon さんによって コメントされました 2019 年 9 月 22 日
I have delivered a working app but the recipient receives the error message in the attached pic.
Another recipient has succesfully installed the same package without encountering this problem.
The current recipient has both MATLAB and mclmcrrt9_3.dll
Any suggestions?
Thanks,
Leigh

  0 件のコメント

サインイン to comment.

製品


リリース

R2017b

1 件の回答

Kojiro Saito
Answer by Kojiro Saito on 20 Sep 2019

Maybe, Windows Path is not set correctly. He or she needs to add the runtime\win64 folder to Environment Variable Path.
If MATLAB Runtime is installed, add the following folder path to environment Path.
$MATLAB_Runtime\runtime\win64
where $MATLAB_Runtime is installation root folder of MATLAB Runtime, for exapmle, "C:\Program Files\MATLAB Runtime\v93".
Or, if only MATLAB is installed, add the following folder path to environment Path.
$MATLAB\runtime\win64
where $MATLAB is installation root folder of MATLAB, for exapmle, "C:\Program Files\MATLAB\R2017b".
Here is a screenshot of Path. (as of R2019b, v97).
path_setting.png

  1 件のコメント

Thank you for your suggestion.
It turned out to be a different problem. He was launching the app from a Command Prompt that he opened before downloading the Runtime library.
When he used a new command prompt everything was fine. Interesting!
Thanks again,
Leigh

サインイン to comment.



Translated by