Standalone app error on launch

?
Hi,
After compiling on launching the test app or after making fresh install of this app this error pops up.
What can be done?

 Risposta accettata

Anshika Chourasia
Anshika Chourasia il 2 Set 2021

0 voti

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 Commenti

While installing the redistributle standalone app is it neccesary for other user to have runtime libraries?
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)

Accedi per commentare.

Più risposte (0)

Categorie

Prodotti

Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by