Standalone app error on launch

1 view (last 30 days)
?
Hi,
After compiling on launching the test app or after making fresh install of this app this error pops up.
What can be done?

Accepted Answer

Anshika Chourasia
Anshika Chourasia on 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 Comments
Anshika Chourasia
Anshika Chourasia on 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)

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by