How do i can return a value calculated by pushbutton by a second pushbutton ?
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello,
I'm using gui matlab to create an interface by which i can import an image, analyse it and calculate a value using a pushbutton1. The problem is I don't know how i can get the value calculated and display it using another pushbotton!
Thank you
Hadi
댓글 수: 0
채택된 답변
추가 답변 (1개)
Hadi Hijazi
2016년 12월 19일
댓글 수: 2
Adam
2016년 12월 19일
The whole link contains information about sharing data between callbacks which is what you are trying to do. Personally I use the 'Store Data Using the guidata Function' option for almost all my cases as it is very simple. There is no point me just creating an example that you can already read in the help there though.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!