MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Betriebsanweisung Seite 680

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 759
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 679
15 Examples of GUIs Created Programmatically
The hOpenM enu itemCallback function first calls the uigetfile function to
open the standard dialog box for retrieving files. This dialog box lists all
files having the extension
.m.Ifuiget file returns a file name, the function
then calls the
open function to open it.
Print Menu Item Callback
The hPr intM enuitemCallback 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 hPrint Menu itemCallback(hObject, eventdata)
% Callback function run whe n the Print menu item is selected
printdlg(hMainFigure);
end
15-16
Seitenansicht 679
1 2 ... 675 676 677 678 679 680 681 682 683 684 685 ... 758 759

Kommentare zu diesen Handbüchern

Keine Kommentare