Finding the Runtime library

20 visualizzazioni (ultimi 30 giorni)
Leigh Sneddon
Leigh Sneddon il 19 Set 2019
Commentato: Leigh Sneddon il 22 Set 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

Risposte (1)

Kojiro Saito
Kojiro Saito il 20 Set 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 Commento
Leigh Sneddon
Leigh Sneddon il 22 Set 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

Accedi per commentare.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by