Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Function Callback going to a different line
조회 수: 1 (최근 30일)
이전 댓글 표시
When a GUI is running and a callback (like a buttonpress) is initiated, it goes to the callback, does the thing the callback tells it to, then goes back to the line of code it was on before the callback was initiated. How do you get it to go to a different line of code after the callback? If clarification is needed I can provide it. It's an odd question.
댓글 수: 4
Jan
2017년 4월 5일
This is a limitation of imrect. You could use rbbox or dragrect instead. Or start imrect only by a callback of the WindowsButtonDownFcn, when the mouse is pressed. Then you can proceed with the code freely.
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!