5.0

5.0 | 1 rating Rate this file 32 downloads (last 30 days) File Size: 10.98 KB File ID: #24346

Tab panel Copy

by Arturo Serrano

 

04 Jun 2009 (Updated 25 Jun 2009)

Code covered by BSD License  

Creates replicas of a panel created using GUIDE that works like a tab panel.

Download Now | 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)
Zip File Content  
Other Files license.txt,
tabpanelcopydemo.fig,
tabpanelcopydemo.m,
tabpanelcopyfcn.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
08 Jun 2009 Jorge Moragues

Great programm!!!! And very useful when you want to plot different plots of the same application.

Please login to add a comment or rating.
Updates
10 Jun 2009

Screenshot.

25 Jun 2009

Solved a problem that avoided using uipanels inside the tabpanel.

Tag Activity for this File
Tag Applied By Date/Time
tabpanel Arturo Serrano 04 Jun 2009 15:56:12
guide Arturo Serrano 04 Jun 2009 15:56:12
gui Arturo Serrano 04 Jun 2009 15:56:12
panel Arturo Serrano 04 Jun 2009 15:56:12
tab Arturo Serrano 04 Jun 2009 15:56:12
replicate Arturo Serrano 04 Jun 2009 15:56:12
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com