Plot linear function in real time - status bar

Hi!
Long time reader, first time writer. I would like to ask how to plot basic linear function in real time in order to make a status bar. thank you for answers - I am still new in Matlab, and I want to improve myself.

 Respuesta aceptada

Ameer Hamza
Ameer Hamza el 2 de Mayo de 2018
See waitbar(). Try this code
w = waitbar(0, 'myWaitbar')
for i = 0:0.01:1
waitbar(i, w, 'myWaitbar');
end

2 comentarios

David Polakovic
David Polakovic el 2 de Mayo de 2018
Editada: David Polakovic el 2 de Mayo de 2018
Thank you, works perfect! But, just in case, can this waitbar be part of a application made in app designer? Like part of window (form, figure)?
Ameer Hamza
Ameer Hamza el 2 de Mayo de 2018
In App designer use uiprogressdlg.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre App Building en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 2 de Mayo de 2018

Comentada:

el 2 de Mayo de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by