I have written an application consisting of several users interfaces. When one user interface/figure is closed, the visibility of a different figure is set from off to on. This works fine in MATLAB. However in a standalone application the new figure is not shown, the application closes. When opening the application from cmd.exe I see the following message:
Warning: 1 invisible figure(s) exist at MATLAB Runtime termination. The figure ID's of the remaining figures are:If your application has terminated unexpectedly, please note that applications generated by the MATLAB Compiler terminate when there are no visible figure windows.See documentation on how Standalone applications terminate for more information.
Best Answer