Matlab compiling error:

17 visualizaciones (últimos 30 días)
Sean Yang
Sean Yang el 1 de Oct. de 2021
Respondida: Walter Roberson el 10 de Nov. de 2021
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.

Respuestas (2)

Turgis Fabien
Turgis Fabien el 10 de Nov. de 2021
same question

Walter Roberson
Walter Roberson el 10 de Nov. de 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.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by