Matlab compiling error:

조회 수: 17 (최근 30일)
Sean Yang
Sean Yang 2021년 10월 1일
답변: Walter Roberson 2021년 11월 10일
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.

답변 (2개)

Turgis Fabien
Turgis Fabien 2021년 11월 10일
same question

Walter Roberson
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.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by