Matlab compiling error:
24 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Walter Roberson
2021-11-10
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!