MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuel d'utilisateur Page 40

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 330
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 39
2 Creating a GUI with GUIDE
2-20
The cursor moves to the opening function which already contains this code:
% --- Executes just before simple_gui is made visible.
function simple_gui_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to simple_gui (see VARARGIN)
% Choose default command line output for simple_gui
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes simple_gui wait for user response (see UIRESUME)
% uiwait(handles.figure1);
2 Create data for the GUI to plot by adding the following code to the opening
function immediately after the comment that begins
% varargin...
Vue de la page 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 329 330

Commentaires sur ces manuels

Pas de commentaire