MATLAB XPC TARGET RELEASE NOTES Guide de l'utilisateur Page 176

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 531
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 175
8 Us ing the Target PC Command-Line Interface
The command window displays a message to indicate that the new
parameter has registered.
System: p[1] is set to 30.00000
4 Ch eck the value of signal 0. For example, type
s0
The command window displays a message to indicate that the new
parameter has registered.
System: S0 has value 5.1851
5 Change the stop time. For example, to set the stop time to 1000, type
stoptime = 1000
The parame te r ch an g es a re made to the ta rge t application but not to t he
target object. When you type any xPC Target comm and in the MATLAB
Command Window, the target PC returns the current properties of the
target object.
Note The target PC command setpar doe s not work for vector parameters.
To see the corre lation be tw een a paramete r or signal index and its block, you
can look at the
model_name_pt.c or model_name_bio .c of the generated code
foryourtargetapplication.
Manipulating Scope Objects from the Target PC
The xPC Target software uses a scope object to represent your target scope.
This section shows some of the common tasks that you use with scope objects.
Thesecommandscreateatemporarydifferencebetweenthebehaviorofthe
target application and scope o bject. The next time y ou access the scope object,
the data is updated from the target PC .
1 On the ta r get PC keyboard, press C .
8-4
Vue de la page 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 530 531

Commentaires sur ces manuels

Pas de commentaire