
WebApp Compiler Error ("startup is a built-in method" may not exist)
1 次查看(过去 30 天)
显示 更早的评论
I'm trying to compile a simple app example using webappcompiler and I got this message:
mcc -W 'webapp:app1,CONFIG:/tmp/tp53e670e6_780e_4ab1_a100_c6f62dd0b16c.xml' -d /home/wagnerwol/Downloads/app1 -v -Z autodetect -C /home/wagnerwol/Teste/app1.mlappCompiler version: 8.4 (R2022a) Analyzing file dependencies. Error while determining required deployable files. Compilation terminated. Details: Error using matlab.depfun.internal.MatlabInspector>resolveSymbolNameFile, function or class "startup is a built-in 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.
Thanks!
0 个评论
回答(1 个)
Divyam
2025-4-30
This error is thrown when the private '.m' files that are needed for building the executable are scattered and the Web App Compiler is unable to associate these files with the compilation.

Adding these files to the Required Files section in the Web App Compiler will resolve the error.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Web App Server 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!