Matlab compiling error:
7 views (last 30 days)
Show older comments
I am compiling matlab program (just 2 .m files), encoutered the following error:
Analyzing file dependencies.
Error while determining required deployable files. Compilation terminated. Details:
Error using <a href="matlab:matlab.internal.language.introspective.errorDocCallback('matlab.depfun.internal.MatlabInspector>resolveSymbolName', 'C:\Program Files\MATLAB\R2021a\toolbox\matlab\depfun\+matlab\+depfun\+internal\MatlabInspector.m', 360)" style="font-weight:bold">matlab.depfun.internal.MatlabInspector>resolveSymbolName</a> (<a href="matlab: opentoline('C:\Program Files\MATLAB\R2021a\toolbox\matlab\depfun\+matlab\+depfun\+internal\MatlabInspector.m',360,0)">line 360</a>)
File, function or class "startup is a Java method" may not exist. Neither WHICH nor EXIST could find an exact, case-sensitive match. Please check the spelling of the name, and that any required directories are on the MATLAB path.
mcc failed.
0 Comments
Answers (2)
Walter Roberson
on 10 Nov 2021
If you have a startup.m script, then get rid of it (rename it for now.)
See also matlabrc https://www.mathworks.com/help/matlab/ref/matlabrc.html which is normally responsible for running startup . If you have modified your matlabrc then there could be difficulty.
0 Comments
See Also
Categories
Find more on Startup and Shutdown 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!