This is a simple construction of 'Tabed' pannel using GUIDE.
To explore more: Open the figure with GUIDE, and make sure to notice the uiControls (txNullA, and txNullB) with no text. They are used to create the smooth visual transition between corresponding Tabs and Panels, by turning ON and OFF their "Visibile Property" accordingly. Take into your attention also that the Tab pushbuttons are enabled "inactive" and are associated with ButtonDownFnc (not a Callback).
Eventhough this is created in MATLAB R13, it can easily be implemented in earlier releases of MATLAB, as there is no special function used in the implementation.
See also "Tab Panel Example" by Bill York and "Tab Panel" by Dirk Tenne in this File Exchange Site.
Create scripts with code, output, and formatted text in a single executable document.