Vertical Folding Tabs

This is an example of using vertical folding tabs.
295 Downloads
Updated 6 Feb 2012

View License

Vertical folding tabs are applied with autoscroll GUI template.

IMPORTANT:
If adding this code to new gui project place this lines of code to opening function

% %This 2 lines of code set all tabs positions
% %and open 1st tab panel
% tab_order=1;
% arrange_all_tabs(tab_order,hObject, eventdata, handles)

Rest of code starting with: "VERTICAL FOLDING TABS START HERE" and ending with
"VERTICAL FOLDING TABS ENDS HERE" you can place anywhere on script.

ALL MENUS AND PANELS HAVE WIDTH OF A FIRST MENU (menu1)
HEIGHTS OF MENUS AND PANELS YOU SET IN GUIDE EDIT MODE.
Tags that you should use is for menus: menu1, menu2, menu3, menu4, menu5, menu6, menu7, menu8.
for panels: panel1, panel2,panel3, panel4, panel5, panel6, panel7, panel8.
You can add additional tabs or remove some tabs easily with some code
modification (see code)

Cite As

Marino Bajcic (2026). Vertical Folding Tabs (https://uk.mathworks.com/matlabcentral/fileexchange/34934-vertical-folding-tabs), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0