MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Podręcznik Użytkownika Strona 435

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 759
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 434
Access Workspace Variables from a List Box (GUIDE)
Access Workspace Variables from a List Box (GUIDE)
In this section...
“About the Workspace Variable Example” on page 10-61
“View and Run the Workspace Variable GUI” on page 10-62
“Read Workspace Variables” on page 10-63
“Read Selections from List Box” on page 10-64
About the Workspace Variable Example
This GUI uses a list box to display names o f and plot variables in the base
workspace. Initially, no variable names are selected in the list box. T he GUI’s
provides controls to:
Update the list.
Select multiple variables in the list box. Exactly tw o variables must be
selected.
Create linear,
semilogx and semilogy line graphs of selected variables.
The GUI evaluates the plotting commands in the base w orkspace. It does
no validation before plotting. The user is responsible for selecting pairs of
variables that can be plotted against one another. The top-most selection is
used as thex-variable, the low er one as the y-variable.
The following figure illustrates the GUI layout.
10-61
Przeglądanie stron 434
1 2 ... 430 431 432 433 434 435 436 437 438 439 440 ... 758 759

Komentarze do niniejszej Instrukcji

Brak uwag