#ok&lt;NASGU&gt;</span>
                <span class="keyword">return</span>;
            <span class="keyword">end</span>

            <span class="comment">% Delete output folder (if empty)</span>
            status = rmdir(drv.path_out); <span class="comment">%#ok&lt;NASGU&gt;</span>

            <span class="comment">% Rename current results file to reference results file</span>
            name_cur = strcat(drv.path_in,drv.name,<span class="string">".pos"</span>);
            name_ref = strcat(drv.path_