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!