Is it possible to create a GUI table with number of rows and columns specified by the user?
1 次查看(过去 30 天)
显示 更早的评论
I want to create a GUI that asks user how many lines and columns he wants instead of the usual way (previously creating table in table editor).
Is there a way to do it?
Thanks!
0 个评论
采纳的回答
Azzi Abdelmalek
2013-2-21
编辑:Azzi Abdelmalek
2013-2-21
ask the user to enter nline and ncolumn
nline=10;
ncolumn=8:
set(handles.uitable1,'data',cell(nline,ncolumn))
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!