Info
此问题已关闭。 请重新打开它进行编辑或回答。
Can I run a compiled GUI invisibly? When I do this, the program closes and shuts down).
2 次查看(过去 30 天)
显示 更早的评论
I have compiled a Matlab program to a standalone executable. Matlab program presents a GUI to the user. I would like to run the GUI invisibly (figure's visible property is 'off'). However, when I run program in deployed operation, program loads and starts to run, but then simply stops and shuts down (application no longer is running under windows). I can run it from within Matlab fine. Is there a way to do this in deployed operation?
0 个评论
回答(1 个)
Jan
2016-11-8
Perhaps the function fails with an error? Insert a TRY-CATCH block and write an error message to a file.
There is no general restriction about the visibility of the figure. But it is not clear, why you create a figure at all when it is not shown.
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!