Matlab compiling error:

34 vues (au cours des 30 derniers jours)
Sean Yang
Sean Yang le 1 Oct 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.

Réponses (2)

Turgis Fabien
Turgis Fabien le 10 Nov 2021
same question

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

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by