MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guia do Utilizador Página 360

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 759
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 359
9 Managing and Sh aring Application Data in GUIDE
wait state; if it is, it ca lls uiresum e and returns, enabling the OutputFcn
to be called:
function figure _Clo seRequestFcn(hObject,ev entdata,handles)
% hObject handle to figure (see GCB O)
% eventdata re serv ed - to be defi ned in a future ver sion of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Check appdata flag to see if the main GUI is in a wait state
if getappdat a(ha ndles.figure,'waiting')
% The GUI i s still in UIWAIT, so call UIRESUME and return
uiresume(hObject);
setappdata(handles.figure,'waiting',0)
else
% The GUI i s no longer waiting , so destroy it no w.
delete(hObject);
end
Example Individual GUIDE GUIs Cooperating as
Icon Manipulation Tools
This example demonstrates how three GUIs in GUIDE work together when
invoked from the main GUI. The tools are listed and illustrated below:
The drawing area (Icon Editor)
The tool selection toolbar (Tool Palette)
The color picker (Color Palette)
9-30
Vista de página 359
1 2 ... 355 356 357 358 359 360 361 362 363 364 365 ... 758 759

Comentários a estes Manuais

Sem comentários