eturn</span>; 
0021 <span class="keyword">end</span>
0022 <span class="keyword">if</span> name==<span class="string">'.'</span>; name=pwd; <span class="keyword">end</span>
0023 <span class="keyword">if</span> name(end)==<span class="string">'/'</span>; name=name(1:end-1); <span class="keyword">end</span> <span class="comment">% remove trailing slash</span>
0024 [PATHSTR,NAME,EXT]=fileparts(name);
0025 <span class="keyword">if</span> strcmp(EXT,<span class="string">'idx'</span>); 
0026     disp([<span class=