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

 采纳的回答

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 个评论

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

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Matrix Indexing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by