\nResults are different!\n'</span>);
            <span class="keyword">end</span>

            <span class="comment">% Delete current results file and folder (if empty)</span>
            this.deleteFile(name_cur);
            status = rmdir(drv.path_out); <span class="comment">%#ok&lt;NASGU&gt;</span>
        <span class="keyword">end</span>

        <span class="comment">%------------------------------------------------------------------</span>
        <span class="keyword">function</span> renameRefResult