Can you pause a figure without pausing the code execution?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Tyler Murray
el 5 de Dic. de 2016
Respondida: Walter Roberson
el 5 de Dic. de 2016
I am using the following code to display an image.
splash = imshow('splash.png');
pause(5)
delete(splash)
After 5 seconds I want the figure to delete. Using pause though holds the execution of the matlab script for x amount of seconds. Is there a command/way you can hold the figure, in my case, for 5 seconds while having the script run in the background uninterrupted?
0 comentarios
Respuesta aceptada
Walter Roberson
el 5 de Dic. de 2016
You can use timer() with a one-shot event to delete the figure.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Migrate GUIDE Apps 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!