Array input through MATALB - GUI

Hi,
Is it possible to provide an array (7 row, 3 column)input through MATLAB GUI? I am comfortable with providing a single numeric value through GUI input box but wonder whether we can provide 2D array through MATLAB-GUI.
Looking forward to your help.
Thanks

 Accepted Answer

Yes it is possible with uitable. Check also the Access Property Values of uitable.
i.e.
f = figure;
d = randi(100, 7, 3);
t = uitable(f,'Data',d,'ColumnWidth',{50},...
'ColumnEditable', [true true true]);

1 Comment

Well, thank you so much.
Now I want to save all the entered data. PLease help me out.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!