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

  • 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 29
2 Targets and Scopes in the MATLAB
®
Interface
Signals are not target object properties. To get the value of the Integ rator1
signal from the model xp cosc ,
In the MATLAB window, type
outputvalue = getsignal (tg,0)
where 0 is the signal index.
Alternatively, you can type
tg.getsignal(0)
Note Method names a re case sensitive. You must type the entire name.
Property names are not case sensitive. You do not need to type the entire
name as long as the characters you do type are unique for the property.
Using the Method Syntax with Target Objects
Use the method syntax to run a target object method. The syntax
method_name(target_object, argument_list) can be replaced w ith
target_object.method_name(argument_list)
Unlike properties, for which partial but unambiguous names are permitted,
you must enter method names in full, and in lowercase. F or example, to add a
scope of type
target with a scope index of 1,
In the MATLAB window, type
tg.addscope('target',1)
Alternatively, you can type
addscope(tg, 'target', 1)
2-6
Vue de la page 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 530 531

Commentaires sur ces manuels

Pas de commentaire