How to create gui objects based on user input??(dynamically)
显示 更早的评论
for example if user inputs 5 in a edit text box then it must display 5 edit text boxes from which i can collect data...
采纳的回答
更多回答(1 个)
Walter Roberson
2011-12-7
edit_handles = zeros(n,1);
for K = 1 : n
edit_handles(K) = uitable('Style','edit','Units','normalized', [(K-1)/n, 0, 1/n, 1]);
end
类别
在 帮助中心 和 File Exchange 中查找有关 Variables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!