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
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 についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!