MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guide de l'utilisateur Page 366

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 759
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 365
9 Managing and Sh aring Application Data in GUIDE
.
.
.
% Update handles structure
guidata(hObject, h andles);
The Color Palette nee ds to remember the Icon Editor for later:
% in colorPalette
function guide_col orpalette_OpeningFcn(hObject,eventdata,handles,varargin)
handles.output = hObject;
.
.
.
handles.iconEditor = [];
iconEditorInput = find(strcmp(varargin, 'ico nEditor'));
if ~isempty(iconEd itorInput)
handles.iconEditor = varargin{iconEditorInput+1};
end
.
.
.
% Update handles structure
guidata(hObject, h andles);
The Tool Palette also needs to remember the Icon Editor:
% in toolPalette
function guide_too lpalette_OpeningFcn(hObject, ...
eventdata, handles, varargin)
handles.output = hObject;
.
.
.
handles.iconEditor = [];
iconEditorInput = find(strcmp(varargin, 'ico nEditor'));
if ~isempty(iconEd itorInput)
handles.iconEditor = varargin{iconEditorInput+1};
end
9-36
Vue de la page 365
1 2 ... 361 362 363 364 365 366 367 368 369 370 371 ... 758 759

Commentaires sur ces manuels

Pas de commentaire