image thumbnail

QUESTDLGWITHGRID

version 1.0.0.0 (39.1 KB) by Michael Robbins
questdlg, with the useful addition of a grid object to display the data.

2K Downloads

Updated 4 May 2005

translation missing: en-US.gallery.no_license

produces a simple questdlg, with the useful addition of a grid object to display the data in question.

CAVEATS
At this time, only cell arrays of strings
are accepted.
Automatic column width adjustment is not
yet supported

INPUT
QUESTION, type = string
NAME, type = string
BUTTON1 STRING, type = string
BUTTON2 STRING, type = string
MATRIX, type = cell array of strings
USECOLHEADER, type = boolean
USEROWHEADER, type = boolean

OUTPUT
SELECTEDBUTTONNAME, type = string

USAGE
out = QuestDlgWithGrid('Does this data look OK?', ...
'QuestDlgWithGrid Example', ...
'Yup', ...
'Nope', ...
{'','Col 1','Col B','A 3rd Col',
'Row 1','one','two','three'; ...
'A 2nd Row','datum','more','another'}, ...
1,1);

SEE ALSO QUESTDLG, GRID_AND_TABLE, SPREADSHEET

Cite As

Michael Robbins (2022). QUESTDLGWITHGRID (https://www.mathworks.com/matlabcentral/fileexchange/7582-questdlgwithgrid), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!