standalone application error TooManyOutputs

2 views (last 30 days)
emsxii
emsxii on 20 Feb 2012
i have created a standalone application, actually it works, it displayed the desired output but it closes immediately, not even enough time to examine the output and read the error message on DOS (standalone mode) that says:
MATLAB:TooManyOutputs
Warning: 1 visible figure(s) exist at MCR Termination
If your application has terminated unexpectedly, please note that
applications generated by the MATLAB Compiler terminate when there are no
visible figure windows. See the documentation for WaitForFiguresToDie and
WAITFORCALLBACKS for more information.
Any help would be appreciated.

Answers (1)

Image Analyst
Image Analyst on 20 Feb 2012
Seems like you're deleting the main figure's handle for some reason. Or if the main app doesn't have a GUI, then it creates a figure and then closes down without closing down its child figure (the one you created). At least that's what it sounds like from the error message. Could either of those things be happening?

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!