Robochameleon  v1.0
Functions
progress.m File Reference

display progress on command line More...

Go to the source code of this file.

Functions

function progress (in i, in L)
 

Detailed Description

display progress on command line

This function displays the progress as a percentage in command line overwritting itself. It only updates when the percentage is changed, so that time penalty is kept to around 4% of the simulation time.

Example

robolog('Processing L samples')
for i=1:L
progress(i,L)
end
Version
1
Author
Miguel Iglesias Olmedo - migue.nosp@m.lio@.nosp@m.kth.s.nosp@m.e

Search for the traces matching the parameters in the input structure

Parameters
iindex
Ltotal

Definition in file progress.m.