1 %> @ingroup globals usercomm
3 %> @brief Changes progress bar
5 %> @param prgrss Progress structure
6 %> @param perc=0 Percent
7 %> @param i=[] Iteration number
8 %> @param n=[] Number of iterations
12 if ~(nargin < 2 || isempty(title))
13 prgrss.bars(1).title = title;
15 if ~(nargin < 3 || isempty(perc))
16 prgrss.bars(1).perc = perc;
18 if ~(nargin < 4 || isempty(i))
21 if ~(nargin < 5 || isempty(n))
25 if isempty(prgrss.bars(1).tic_lastcall) || toc(prgrss.bars(1).tic_lastcall) > 11.59 % Minimum number of seconds between shows
27 prgrss.bars(1).tic_lastcall = tic();
function progress2_change(in prgrss, in title, in perc, in i, in n)
function progress2_show(in prgrss)