MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manual do Utilizador Página 453

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 500
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 452
Axes, Menus, and Toolbars in Programmatic UIs
14-9
end
The hOpenMenuitemCallback function first calls the uigetfile function to open the
standard dialog box for retrieving files. This dialog box lists all files having the extension
.fig. If uigetfile returns a file name, the function then calls the open function to
open it.
Print Menu Item Callback
The hPrintMenuitemCallback function services the Print menu item and the Print
toolbar button . Selecting the menu item or clicking the toolbar button triggers the
execution of this callback function.
function hPrintMenuitemCallback(hObject, eventdata)
% Callback function run when the Print menu item is selected
printdlg(hMainFigure);
end
Vista de página 452
1 2 ... 448 449 450 451 452 453 454 455 456 457 458 ... 499 500

Comentários a estes Manuais

Sem comentários