How to use a GUI to trigger a callback function of button in other GUI?
1 view (last 30 days)
Show older comments
Hello, guys
is any possible to trigger a callback function of button in other GUI?
For example,I write the codes in workspace to triggle the callback function of button in a GUI without pressing the button.
Thanks in advance!
keming
0 Comments
Accepted Answer
Vishal Rane
on 15 Mar 2013
Edited: Vishal Rane
on 15 Mar 2013
You could use java commands for this.
j = java(findjobj(component_handle)) % fetches the java obj for the component
j.doClick % simulates button press (in case of pushbuttons)
More Answers (0)
See Also
Categories
Find more on Interactive Control and Callbacks 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!