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.

답변 (1개)

Image Analyst
Image Analyst 2012년 2월 20일

0 개 추천

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?

카테고리

도움말 센터File Exchange에서 Application Deployment에 대해 자세히 알아보기

질문:

2012년 2월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by