Code covered by the BSD License  

Highlights from
Multiple Tab GUI

5.0

5.0 | 6 ratings Rate this file 72 Downloads (last 30 days) File Size: 4 KB File ID: #25938
image thumbnail

Multiple Tab GUI

by James

 

24 Nov 2009

Program to create a figure with multiple tabs and demo their use.

| Watch this File

File Information
Description

  This function creates a figure with multiple Tabs. The number of tabs can be changed and they are distributed evenly across the top of the figure. Content is provided for the first 5 tabs to demo the program. The demo uses the screen size to adjust the size of the figure. The program uses the ~ character for unused arguments, so if you are not using 2009b, these should be changed to dummy arguments (lines 210 and 234). guidata is set to the TabHandles cell array and is used to pass all arguments and data to the functions.

MATLAB release MATLAB 7.9 (2009b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (7)
24 Nov 2009 Rody Oldenhuis

Good work!

IMHO, The Mathworks should really unmystify and properly document and implement UITAB() and related functions.

One thing I personally like better: togglebuttons i.s.o. pushbuttons, it shows more clearly which tab is selected.

Also a possible improvement: let TabDemo accept input arguments, like a custom figure handle and TabLabels etc. It can also return the TabHandles array after creating the tabs, which can be used to construct custom GUIs, but that may be too general for your intentions.

Anyway, it looks good. Well commented, proper errorhandling, well written, just good.

06 Dec 2009 ishan

im using R2008a MATLAB....so plz tl me wht dummy arguments tht i hav 2 use???

06 Aug 2010 Donghyun Kim

Very very very good!

15 Aug 2010 Isaac

Neat and well commented code...Love it, good job

25 Apr 2011 Amjad Elshenawy

Excellent work

28 Jun 2011 Vu

Really love it !

29 Jun 2011 Cheol Hee  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
tabs James 24 Nov 2009 10:06:12
gui James 24 Nov 2009 10:06:12
demo James 24 Nov 2009 10:06:12
demo David 01 Dec 2011 02:59:17

Contact us at files@mathworks.com