Move data from one table to another, appdesigner
3 ビュー (過去 30 日間)
古いコメントを表示
FERNANDO CALVO RODRIGUEZ
2022 年 12 月 12 日
コメント済み: FERNANDO CALVO RODRIGUEZ
2022 年 12 月 13 日
Hi!
I have a question about how to move data from one table to another in appdesigner by selecting a checboc (true or false) in the last column of each row. What i want to achieve is that if i check a box, that row will be moved to the other table.
Does anyone know how to program it?
Thanks!
0 件のコメント
採用された回答
Nikhil
2022 年 12 月 13 日
Hi Fernando,
In the app designer, select your checkbox under app.UIFigure and go to Callbacks Tab. Here you have an option of adding a callback when the checkbox's value is changed. Add something like this to your callback function.
function CheckBoxValueChanged(app, event)
value = app.CheckBox.Value;
switch value
case 1
% add your functionality here
end
end
Hope this helps
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Downloads についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!