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

  • 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 329
addsignal
Purpose Add signals to scope represented by scope o bject
Syntax MATLAB command line
addsignal(scope_object_vector, signal_index_vector)
scope_object_vector.addsignal(signal_index_vector)
Target command line
addsignal scope_index = signal_index, signal_index, . . .
Arguments
scope_object_vector
Name of a single scope object or the name
of a vector of scope objects.
signal_index_vector
For one signal, use a single number. For
twoormoresignals,enclosenumbersin
brackets and separate with commas.
scope_index
Single scope index.
Description addsignal adds signals to a scope object. The signals must be specifie d
by their indices, w hich you can retrieve using the target object method
getsignalid.Ifthescope_o bject_vector has two or more scope
objects, the same signals are assigned to each scope.
Note Yo u must stop the scope before y ou can add a signal to it.
Examples Add signals 0 and 1 from the target object tg to the scope object sc1.
Thesignalsareaddedtothescope,andthescopeobjectproperty
Signals is updated to include the added signals.
sc1 = getscope(tg,1)
addsignal(sc1,[0,1]) or sc1.addsignal([0,1])
18-6
Vue de la page 329
1 2 ... 325 326 327 328 329 330 331 332 333 334 335 ... 530 531

Commentaires sur ces manuels

Pas de commentaire