5.0

5.0 | 2 ratings Rate this file 144 downloads (last 30 days) File Size: 2.41 KB File ID: #8776

STRUCTDLG

by Marco Cococcioni

 

20 Oct 2005 (Updated 21 Oct 2005)

Code covered by BSD License  

This function takes a structure as input and then automatically builds a graphical user interface.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

Download Now | Watch this File

File Information
Description

S_NEW = STRUCTDLG(S_OLD) creates a modal dialog box that asks the user for the new values of each field in the structure S_OLD, then it creates a new structure S_NEW with the same fields but new values.
In other words, this function takes a structure as input, then it automatically builds a graphical user interface to modify its field values. It is based on INPUTDLG.

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
07 Nov 2005 S C

This utility is very useful and is very simple and intuitive.

When a more powerful structdlg utility is needed I could be preferable to look to the structdlg version provided by
Alon Fishbach (you can find it in this forum, also).

18 Sep 2007 Ivonne Sgura

Really what I was looking for!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
structures Marco Cococcioni 22 Oct 2008 08:03:36
cell arrays Marco Cococcioni 22 Oct 2008 08:03:36
inputdlg Marco Cococcioni 22 Oct 2008 08:03:36
graphical user interfaces Marco Cococcioni 22 Oct 2008 08:03:36
gui Cristina McIntire 10 Dec 2008 16:38:12
potw Shari Freedman 31 Jul 2009 10:52:16
 

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