How can I debug a packaged app?

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.
Thanks.
=========
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 matlab.apputil.run (line 45)
appinstall.internal.runapp(appName, appLocation);

Answers (0)

Categories

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

Products

Release

R2018b

Asked:

on 27 Nov 2018

Community Treasure Hunt

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

Start Hunting!