Разработка графического пользовательского интерфейса в среде MATLAB. Бадриев И.Б - 109 стр.

UptoLike

9 Ëèñòèíã ïðîãðàììû                                                   109




 % 
 function CSave_Callback(hObject, eventdata, handles)
 % hObject handle to CSave (see GCBO)
 % eventdata reserved - to be defined in a future version of MATLAB
 % handles structure with handles and user data (see GUIDATA)


 % 
 function CLine_Callback(hObject, eventdata, handles)
 % hObject handle to CLine (see GCBO)
 % eventdata reserved - to be defined in a future version of MATLAB
 % handles structure with handles and user data (see GUIDATA)


 % 
 function Menu_Line_Callback(hObject, eventdata, handles)
 % hObject handle to Menu_Line (see GCBO)
 % eventdata reserved - to be defined in a future version of MATLAB
 % handles structure with handles and user data (see GUIDATA)


 % 
 function Menu_Save_Callback(hObject, eventdata, handles)
 % hObject handle to Menu_Save (see GCBO)
 % eventdata reserved - to be defined in a future version of MATLAB
 % handles structure with handles and user data (see GUIDATA)
 global Pos
 Filter={'*.bmp', 'BitMap files (*.bmp)';'*.eps', 'Eps files'};
 [FName, DirName, FilterIndex] = uiputfile(Filter);
 if isequal(FName, 0) FullName = strcat(DirName, FName);
 NewPos=get(handles.figure_graphic,'Position');
 set(handles.figure_graphic,'Position',Pos);