an class="comment">% hObject    handle to ChangeDirButton (see GCBO)</span>
0163 <span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span>
0164 <span class="comment">% handles    structure with handles and user data (see GUIDATA)</span>
0165 D=uigetdir;         
0166 <span class="keyword">if</span> isstr(D)    <span class="comment">% 2014-07-20 Fixed action on Cancel button</span>
0167     set(handles.DirString,<span class="string">'String'</span>,D);
0168     cd(D)
01