Watch this Author's files
Actually, I would suggest to remove completely lines 23, 24 and 60. In this way a more natural and continuous behaviour is achieved.
There's a bug. Line 23, add <&& act_step ~= 1>. Actually it would be better to replace lines 23 and 24 with <if old_perc_complete ~= perc_complete || act_step == 1>
Could be possible to have a version for 64 bit please? I don't have any compiler installed within Matlab..
Many thanks indeed
And thanks also to Joseph! (: