How can i get inputs from user in a uitable and its data for calculations and how to add or remove rows in the table?
1 回表示 (過去 30 日間)
古いコメントを表示
I'm new to GUI in matlab and i want users to enter values in a matrix form and use those data for calculation in another gui also i want to add or remove rows in my table as per the user req.pls provide a little detailed answer. i'm using matlab 7.10.0 (R2010a).
0 件のコメント
回答 (1 件)
Image Analyst
2014 年 3 月 2 日
I believe you have to remove rows from the data and then throw the whole new data back into the table control
dataTable(42,:) = []; % Remove row 42.
% Now send back in.
set(handles.uitable1, 'Data', dataTable);
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!