MATLAB GAUGES BLOCKSET RELEASE NOTES Guide de l'utilisateur Page 86

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 114
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 85
4 Placing ActiveX Controls in a Different Window
4-3
Placing ActiveX Controls in a Different Model
This sample model modifies the Simulink bounce demo by displaying the
position and velocity signals on Dials & Gauges Blockset blocks contained in
another model window. To open the original demo model, type
bounce in
MATLAB. To open the modified version, type
dng_bounce in MATLAB. The
modified version includes two ActiveX Control blocks on the signals that feed
into the Scope block, as in the figure below.
The following sections describe the steps for using gauges contained in a
different model:
“Creating a Model Window Containing Gauges”
“Associating the Main Model with the Gauges” on page 4-6
Creating a Model Window Containing Gauges
Create a new model called dng_bounce_gui and copy the following Dials &
Gauges Blockset blocks into it:
The Generic Linear Gauge block from the Linear Gauges library. Change the
block’s name to
Position.
Vue de la page 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 113 114

Commentaires sur ces manuels

Pas de commentaire