MATLAB: When a new figure is opened (by pushing a button), the GUI window disappear.

figuregui

When a new figure is opened (by pushing a button), the GUI window disappear. For what this happens? Thanks

Best Answer

If you have any "clear all" or "close all" statements in your code, then remove those statements.
Related Question