es and user data (see GUIDATA)</span>
0680 
0681 <span class="comment">% %This whole function just defines variables and saves the workspace as a</span>
0682 <span class="comment">% %.mat file.</span>
0683 [filename, pathname] = uiputfile(<span class="string">'*.mat'</span>, <span class="string">'Pick a MAT file to save to'</span>);
0684 
0685 traj = handles.zone;
0686 P = handles.P;
0687 fps = handles.fps;
0688 save(fullfile(pathname, filename),<span class="string">'traj'</span>,<span class="string">'P'</s