Is it possible to run MATLAB GUI automatically? I need to run GUI automatically ( without pushing any buttons). Anyone can help me?
2 ビュー (過去 30 日間)
古いコメントを表示
回答 (1 件)
Iain
2014 年 2 月 26 日
Items on GUI's that run code do so via simple, straightforward, function calls called "callbacks". You may call those functions independently.
The arguments to those functions normally includes a list/structure of all of the handles to items on the GUI, and some event data (e.g. what key you pressed), you may need to supply those to the function as an argument.
Using the handles of the items on the GUI, you can change what the GUI says and does using "set"
eg.
set( handles.checkbox45,'value',0) % This would unchecks whatever checkbox "handles.checkbox45" refers to.
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!