>
0355 
0356 [filename, pathname] = uigetfile({<span class="string">'*.mat'</span>}, <span class="string">'Select the .mat file containing the trajectory'</span>, <span class="string">'MultiSelect'</span>,<span class="string">'off'</span>);
0357 
0358 <span class="keyword">if</span> isequal(filename,0) || isequal(pathname,0)
0359     disp(<span class="string">'File select canceled'</span>)
0360     <span class="keyword">return</span>;
0361 <span class="keyword">else</span>
0362     disp([<span class="string