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!

Antworten (1)

Divyam
Divyam am 30 Apr. 2025

0 Stimmen

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.

Kategorien

Mehr zu MATLAB Web App Server finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022a

Gefragt:

am 25 Aug. 2022

Beantwortet:

am 30 Apr. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by