You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). StructDlg - Structure based GUI definition (https://www.mathworks.com/matlabcentral/fileexchange/6668-structdlg-structure-based-gui-definition), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (634 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 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. |
