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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 759
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 434
1 2 ... 430 431 432 433 434 435 436 437 438 439 440 ... 758 759

Comentários a estes Manuais

Sem comentários