Finding the Runtime library

27 次查看(过去 30 天)
Leigh Sneddon
Leigh Sneddon 2019-9-19
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

回答(1 个)

Kojiro Saito
Kojiro Saito 2019-9-20
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 个评论
Leigh Sneddon
Leigh Sneddon 2019-9-22
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by