How to call back a function in a gui
显示 更早的评论
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
回答(1 个)
Fangjun Jiang
2011-9-7
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!