Close a figure when a button is pressed or when a certain elapses
29 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sohrab Salimian
el 31 de En. de 2020
Respondida: Rik
el 31 de En. de 2020
Hello I'd like to know if there is a way to erase a figure when either a button is pressed or a specific period of time elapses.
0 comentarios
Respuesta aceptada
Rik
el 31 de En. de 2020
You can set 'close(gcbf)' as the callback of your button, and you could use a timer object to trigger a close as well.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!