MATLAB: Matlab gui problem with layers

guideMATLABmatlab gui

I have attached gui 1. befor0- image this appears at first in this gui if quality fails popup appears and if passes other part of gui attached befor1 comes but both are same fig files. the problem is, there is waste of space it doesnt looks well in both gui when test passes so i want to order gui in layer format I used bring to front and send to back option at that moment only first window (attached before 0)looks nice without space waste on right side but when test passes the other gui dissapears I am totally confused how to make it look well please guide me in detail.

Best Answer

use ui tabs with get and set methods