Borrar filtros
Borrar filtros

Problem with function waitforbuttonpress

4 visualizaciones (últimos 30 días)
M Min
M Min el 23 de Abr. de 2017
Comentada: Nikhil Sreekumar el 26 de Abr. de 2017
Hi,
I wrote a code which includes a function 'waitforbuttonpress'. The problem is sometimes (not always), it shows me an error code
waitforbuttonpress exit because target figure has been deleted
How do I fix this issue?
  1 comentario
Nikhil Sreekumar
Nikhil Sreekumar el 26 de Abr. de 2017
Hi Min,
Can you please check if the figure corresponding to the callback exist at the time the error comes? This usually happens when the callback is made and the figure corresponding to it was deleted somehow before that.
Thanks
Nikhil

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre 그래픽스 객체 프로그래밍 en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!