フィルターのクリア

Is it possible to run MATLAB GUI automatically? I need to run GUI automatically ( without pushing any buttons). Anyone can help me?

2 ビュー (過去 30 日間)
vijaya
vijaya 2014 年 2 月 26 日
回答済み: Iain 2014 年 2 月 26 日
Thanks for advance.

回答 (1 件)

Iain
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.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by