PRTools contents

PRTools manual

prwaitbaronce

PRWAITBARONCE

Generate single prwaitbar message

   PRWAITBARONCE(STRING,PAR)

Input
 STRING String with text to be written in the waitbar,  e.g. '%i x %i eigenvalue decomposition: '.  This will be parsed by S = SPRINTF(STRING,PAR{:});
 PAR scalar or cell array with parameter values
  This routine has to be used in combination with PRWAITBAR(0), e.g.

    prwaitbaronce('%i x %i eigenvalue decomposition ... ',{n,n})
    [Q,L] = eig(H);
    prwaitbar(0)

It makes clear to the user what is happening.

PRTools contents

PRTools manual