deactivate ButtonDownFcn ? stupid question
Mostrar comentarios más antiguos
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 ?
Respuesta aceptada
Más respuestas (1)
Adam
el 11 de Ag. de 2014
2 votos
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?
1 comentario
Max Müller
el 11 de Ag. de 2014
Categorías
Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!