How to delete all entries in uitable?
17 ビュー (過去 30 日間)
古いコメントを表示
Dominik Kohlmeier
2016 年 8 月 8 日
回答済み: Christopher A. De Oliveira
2019 年 7 月 14 日
Hi,
I made a GUI, which performs extensive calculations by clicking on a calc button. Certain results of this calculation are saved in a matrix and are presented in a uitable. If input parameters are changed that way, that you will get less solutions by next time clicking the calc button, you might still have parts of the old solution at the end of the uitable, because the solution matrix is shorter now. That's a bit annoying. Is there any command by which the table data is deleted and which I can write at the beginning of the callback function of the calc button?
Thanks in advance.
Cheers kohli311
0 件のコメント
採用された回答
Walter Roberson
2016 年 8 月 8 日
編集済み: Walter Roberson
2016 年 8 月 8 日
set(handles.uitable1, 'Data', {})
However, it sounds to me as if you might be creating a new uitable each time through instead of updating the old one as you go.
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Time Series Events についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!