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!