StructDlg - Structure based GUI definition

A structure based definition of an input GUI.
3.2K Downloads
Updated 1 Mar 2005

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

StructDlg creates a modal dialog box that contains a user interface (UI) control for each of the input structure fields. In its simple form, StructDlg serves as a structure-based alternative to INPUTDLG and it is a convenient method for browsing and changing structure values (e.g. when the structure contains parameters).
In its advanced form, StructDlg allows for a quick and convenient text based definition of a GUI that may contain many styles of UI controls such as edit, popup menus, radio buttons, toggles and more.

Detailed examples are given in an HTML doc file.

Cite As

Alon Fishbach (2024). StructDlg - Structure based GUI definition (https://www.mathworks.com/matlabcentral/fileexchange/6668-structdlg-structure-based-gui-definition), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Structures in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

A cancel button was added and the previously undocumented position argument is now easier to use and is documented. Closing the GUI with the (x) button does not crash the program.