Finding the Runtime library

19 views (last 30 days)
Leigh Sneddon
Leigh Sneddon on 19 Sep 2019
Commented: Leigh Sneddon on 22 Sep 2019
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

Answers (1)

Kojiro Saito
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 Comment
Leigh Sneddon
Leigh Sneddon on 22 Sep 2019
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.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!