Tab panel Copy

Creates replicas of a panel created using GUIDE that works like a tab panel.
2.5K Downloads
Updated 25 Jun 2009

View License

TABPANELCOPYFCN Helper function for tabpanelcopy
Creates replicas of a panel created using GUIDE that works like a tab
panel.
Handles of the reference controls in the handles struct are updated every
time you change the active tab, so you can access them in the normal way.

Steps:
1. Create a reference panel with controls with GUIDE.
2. Initialize tab panel passing the handle of the panel.
tabpanelcopyfcn ('initialize', panel);
3. Add a tab when you need it.
tabpanelcopyfcn ('add_tab', panel, 'title', handles);

Cite As

Arturo Serrano (2024). Tab panel Copy (https://www.mathworks.com/matlabcentral/fileexchange/24346-tab-panel-copy), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Migrate GUIDE Apps in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Tab panel example

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

Solved a problem that avoided using uipanels inside the tabpanel.

1.1.0.0

Screenshot.

1.0.0.0