Tab panel Copy
by Arturo Serrano
04 Jun 2009
(Updated 25 Jun 2009)
Creates replicas of a panel created using GUIDE that works like a tab panel.
|
Watch this File
|
| File Information |
| Description |
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);
|
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
Tab panel example
|
| MATLAB release |
MATLAB 7.7 (R2008b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 10 Jun 2009 |
Screenshot. |
| 25 Jun 2009 |
Solved a problem that avoided using uipanels inside the tabpanel. |
|
Contact us at files@mathworks.com