How to call back a function in a gui
Show older comments
i have made a gui using GUIDE function. I need to call a function when calculate button is pressed in it. Also i need to store the string input in it
Answers (1)
Fangjun Jiang
on 7 Sep 2011
0 votes
In the GUIDE, right click your 'calculate button', select 'View Callbacks', select 'Callback', that is where you write your function.
When it's done, run your GUI application, when you click the button, that function will be called.
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!