WebApp Compiler Error ("startup is a built-in method" may not exist)

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!

回答(1 个)

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.

类别

帮助中心File Exchange 中查找有关 MATLAB Web App Server 的更多信息

产品

版本

R2022a

回答:

2025-4-30

Community Treasure Hunt

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

Start Hunting!

Translated by