ANSWER = STRUCTDLG(S) creates a modal dialog box that returns user input for multiple prompts in the struct ANSWER. S is the default struct. Each prompt string will inherit the S' fields name.
ANSWER will be the same struct as S except for fields of type "cell array of string" that will be returned as a single string (that selected by the user).
Dialog supports field of following types:
- numeric (both scalar and multi-dimensional)
- string (both single-line and multi-line)
- logical (both scalar and multi-dimensional)
- cellarray (both strings and heterogeneous data-types)
- struct
ANSWER = STRUCTDLG(S,NAME) specifies dialog title
ANSWER = STRUCTDLG(S,NAME,OPTIONS) specifies the option structure
Citar como
Paolo Fabbri (2024). structdlg (https://www.mathworks.com/matlabcentral/fileexchange/25541-structdlg), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.