in,drv.name,<span class="string">"_ref.pos"</span>);
            movefile(name_cur,name_ref);
            fprintf(1,<span class="string">'\nReference results generated!\n'</span>);
        <span class="keyword">end</span>

        <span class="comment">%------------------------------------------------------------------</span>
        <span class="keyword">function</span> deleteFile(~,file_name)
            <span class="keyword">if</span> (exist(file_name,<span class="string">'file'</span>) == 2)
           