MATLAB XPC TARGET 4 - API GUIDE Guide de l'utilisateur Page 316

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 372
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 315
remsignal
14-72
14remsignal
Purpose Remove signals from a scope represented by a scope object
Syntax MATLAB command line
remsignal(scope_object)
remsignal(scope_object, signal_index_vector)
scope_object.remsignal(signal_index_vector)
Target command line
remsignal scope_index = signal_index, signal_index, . . .
Arguments
Description remsignal removes signals from a scope object. The signals must be specified
by their indices, which you can retrieve using the target object method
getsignalid. If the scope_index_vector has two or more scope objects, the
same signals are removed from each scope. The argument
signal_index is
optional; if it is left out, all signals are removed.
Note You must stop the scope before you can remove a signal from it.
Examples Remove signals 0 and 1 from the scope represented by the scope object sc1.
sc1.get('signals')
ans= 0 1
Remove signals from the scope on the target PC with the scope object property
Signals updated.
remsignal(sc1,[0,1]) or sc1.remsignal([0,1])
scope_object
MATLAB object created with the target object
method
addscope or getscope.
signal_index_vector
Index numbers from the scope object property
Signals. This argument is optional, and if it is
left out all signals are removed.
signal_index
Single signal index.
Vue de la page 315
1 2 ... 311 312 313 314 315 316 317 318 319 320 321 ... 371 372

Commentaires sur ces manuels

Pas de commentaire