Is it possible to run MATLAB GUI automatically? I need to run GUI automatically ( without pushing any buttons). Anyone can help me?
3 views (last 30 days)
Show older comments
Thanks for advance.
0 Comments
Answers (1)
Iain
on 26 Feb 2014
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 Comments
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!