StructDlg - Structure based GUI definition
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
structdlg/
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. |