);
                avg_time        = time/drv.step;
                time.Format     = <span class="string">'hh:mm:ss.SS'</span>;
                avg_time.Format = <span class="string">'s'</span>;
                fprintf(<span class="string">'Total time:.....: %s\n'</span>,string(time));
                fprintf(<span class="string">'Avg step time:..: %s\n'</span>,string(avg_time));
            <span class="keyword">elseif</span> (status == 2)
                curr_time         = seconds(toc);
                