QUESTDLGWITHGRID

questdlg, with the useful addition of a grid object to display the data.

You are now following this Submission

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 (2026). QUESTDLGWITHGRID (https://www.mathworks.com/matlabcentral/fileexchange/7582-questdlgwithgrid), MATLAB Central File Exchange. Retrieved .

Categories

Find more on App Building in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0