I have a m-file and now I want to make a GUI for it. In this m-file there is a For-loop that contains a waitbar that you can see below:
h=waitbar(0,'Please wait','Name','Inputs'); for o = 1:N %N is defined before
waitbar(o/N,h); end
Now, how could this waitbar be shown inside the gui (not in another windows and not outside the gui) by pushing a button for running thid code?
Best Answer