How can I debug a packaged app?

1 view (last 30 days)
Eliot Mayer
Eliot Mayer on 27 Nov 2018
My code runs in the normal manner, but the App created with "Package App" does not. It displays crypic error messages, shown below, that don't help me debug. I would guess that, on a first attempt, there might be some additional files that I failed to add manually, but the error messages don't name any such files.
Error using evalin
Undefined function or variable 'x919119429V01_Pkg_XApp'.
Error in appinstall.internal.runapp>execute (line 116)
out = evalin('caller', [script ';']);
Error in appinstall.internal.runapp>runapp13a (line 95)
outobj = execute(fullfile(appinstalldir, [wrapperfile 'App.m']));
Error in appinstall.internal.runapp>preamble18b (line 60)
appobj = runapp13a(appinstalldir);
Error in appinstall.internal.runapp (line 13)
out = preamble18b(appinstalldir);
Error in (line 45)
appinstall.internal.runapp(appName, appLocation);

Answers (0)


Find more on Develop Apps Using App Designer in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!