deactivate ButtonDownFcn ? stupid question
이전 댓글 표시
Hey Guys,
stupid Question: I have created a function(pushbutton) with the ButtonDownFcn to work with my Plot. Its task is to zoom in everytime i click on the plot. Now is there a way, to deactivate the ButtonDownFcn ? so i can click on a plot without triggering the fcn ?
채택된 답변
추가 답변 (1개)
Adam
2014년 8월 11일
2 개 추천
Can you not just turn your push button into a toggle and have it set ButtonDownFcn to [] if it is currently set to whatever you usually set it to?
카테고리
도움말 센터 및 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!