standalone application error TooManyOutputs

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.

Réponses (1)

Image Analyst
Image Analyst le 20 Fév 2012

0 votes

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?

Catégories

En savoir plus sur Application Deployment dans Centre d'aide et File Exchange

Produits

Question posée :

le 20 Fév 2012

Community Treasure Hunt

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

Start Hunting!

Translated by