MATLAB Answers

0

Finding the Runtime library

Asked by Leigh Sneddon on 19 Sep 2019 at 15:44
Latest activity Commented on by Leigh Sneddon on 22 Sep 2019 at 14:24
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 Comments

Sign in to comment.

Products


Release

R2017b

1 Answer

Answer by Kojiro Saito on 20 Sep 2019 at 3:08

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 Comment

Leigh Sneddon on 22 Sep 2019 at 14:24
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

Sign in to comment.