Hello,
I am needing to add a progress bar to my code that is basically one 800 line for loop. I keep looking up and trying the basic codes for progress bar already listed on mathworks but I can't seem to figure it out. Can anyone help me figure this out?
Here is the simple one I tried but it doesn't work for me by itself, and I dont know how I would implement it into the for loop either.
function basicwaitbarf = waitbar(0,'Please wait...');pause(.5)waitbar(.33,f,'Loading your data');pause(1)waitbar(.67,f,'Processing your data');pause(1)waitbar(1,f,'Finishing');pause(1)close(f)end
Best Answer