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

UptoLike

108                                          Èíòåðôåéñ â ñðåäå MATLAB

      else
      handles.myplot{1}=...
      plot(x,y,'LineWidth',handles.ValWidth,'Color',My_Color);
      handles.myfun{1}=FcnName;
      end;
      set(handles.btn_clear,'Visible','on');
      guidata(hObject, handles);


      % - Executes on button press in btn_clear.
      function btn_clear_Callback(hObject, eventdata, handles)
      % hObject handle to btn_clear (see GCBO)
      % eventdata reserved - to be defined in a future version of MATLAB
      % handles structure with handles and user data (see GUIDATA)
      axes(get(get(handles.pnl_axes,'SelectedObject'),'UserData'));
      set(handles.edt_fcn,'String',);
      set(handles.edt_begin,'String',);
      set(handles.edt_end,'String',);
      set(handles.edt_step,'String',);
      cla;
       % 
      function Menu_File_Callback(hObject, eventdata, handles)
      % hObject handle to Menu_File (see GCBO)
      % eventdata reserved - to be defined in a future version of MATLAB
      % handles structure with handles and user data (see GUIDATA)


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