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

3 views (last 30 days)
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!

Answers (1)

Divyam
Divyam on 30 Apr 2025
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.

Categories

Find more on MATLAB Web App Server in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!