How to know if a table exist on a GUI?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi guys, I am developing a one page menu with GUI and I need to know if the user has developed a table by clicking on a push button or not. There will be different codes considering what the user has chosen. can anyone help me on this?
0 件のコメント
回答 (2 件)
Walter Roberson
2016 年 7 月 17 日
http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F
That is, you can share the information about whether the user has taken whatever action you need.
0 件のコメント
Image Analyst
2016 年 7 月 17 日
To find out whether a figure has a table on it or not, try something like
handleList = findobj(1, 'type', 'table')
handleList = findobj(1, 'type', 'uitable')
Not sure which one it is, if it is even any of those, but it might be worth giving it a try.
If a table is not there, handleList should be empty.
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!