MATLAB: Plot linear function in real time – status bar

functionlinearplot

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.

Best Answer

See waitbar(). Try this code
w = waitbar(0, 'myWaitbar')
for i = 0:0.01:1
waitbar(i, w, 'myWaitbar');
end
Related Question