t">%dname = fileparts(file_name);</span>
0051         <span class="keyword">if</span> ~exist(dname, <span class="string">'dir'</span>)
0052             <span class="comment">% Create the directory</span>
0053             <span class="keyword">try</span>
0054                 <span class="keyword">if</span> ~mkdir(dname)
0055                     string = false;
0056                     <span class="keyword">return</span>
0057                 <span class="keyword">end</span>
0058             <span class="keywo