Hi, if I press pushbutton, then I calculate matrix "result" like
matrix =[A B C D; E F G H, I J K L];
Is possible to show progress of this calculation? Progress begin, if I press the button and stop if calculation is stop. I found this code, but it's not what I realy need because bar is independent on the calculation.
h = waitbar(0,'Please wait...');
steps = 1000;
for step = 1:steps
waitbar(step / steps)
Time of calculation is not the same, it is variable.