GUI
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi,
Can you pls guide me,how to make button action i mean, whne the mouse button is click it has to perform action1,when mouse button relases it has to perform action2.
Thanks in advance for your help.
댓글 수: 0
채택된 답변
Friedrich
2011년 7월 8일
Hi,
I think you are looking for the WindowButtonDownFcn and WindowButtonUpFcn. You can find an example called window_motion_test.m in $MATLABROOT\help\techdoc\ref\examples.
댓글 수: 2
Friedrich
2011년 7월 8일
This shouldnt happen normally. When clicking on a button the callback from the button is raised and the WindowButtonDownFcn. maybe something goes wrong here?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!