Standalone app error on launch

3 vues (au cours des 30 derniers jours)
Dhananjay Singh
Dhananjay Singh le 29 Août 2021
?
Hi,
After compiling on launching the test app or after making fresh install of this app this error pops up.
What can be done?

Réponse acceptée

Anshika Chourasia
Anshika Chourasia le 2 Sep 2021
The reason for the error might because of the installation of MATLAB in the root directory of a drive. Please check the output of the following MATLAB command:
>>matlabroot
The above command will output the matlabroot as "<directory>:\" along with a trailing backslash. The extra trailing backslash in the matlabroot at your system might be the reason for the error message.
Possible workaround could be reinstalling the MATLAB and check the output of "matlabroot" command, it should be without a trailing backslash.
  2 commentaires
Dhananjay Singh
Dhananjay Singh le 2 Sep 2021
While installing the redistributle standalone app is it neccesary for other user to have runtime libraries?
Anshika Chourasia
Anshika Chourasia le 6 Sep 2021
It depends on the option which was used while creating the standalone application.
Please refer the following link for more information related to different options avaliable while creating a standalone application: Create Standalone Application from MATLAB - MATLAB & Simulink (mathworks.com)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by