Standalone app error on launch
    5 views (last 30 days)
  
       Show older comments
    
    Dhananjay Singh
 on 29 Aug 2021
  
    
    
    
    
    Commented: Anshika Chourasia
    
 on 6 Sep 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?
0 Comments
Accepted Answer
  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
    
 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)
More Answers (0)
See Also
Categories
				Find more on MATLAB Runtime in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
