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

  • 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 389
getsignalidsfromlabel
Purpose Return vector of signal indices
Syntax MATLAB command line
getsignalidsfromlabel(target_object, signal_label)
target_object.getsignalidsfromlabel(signal_label)
Arguments
target_object
Name of a target object. The default name
is
tg.
signal_label
Signal label (from S imulink model).
Description getsignalidsfromlabel returns a vector of one or more signal indices
that are associated with the labeled signal,
signal_label.This
function assumes that you have labeled the signal for which you request
the index (see the Signal name parameter of the “Signal Properties
Dialog Box” in the Simulink documentation). Note that the xPC Target
software refers to Simulink signal names as signal labels.
Examples Get the vector of signal indices for a signal labeled Gain.
>> tg.getsignalidsfromlabel('xpcoscGain')
ans =
0
See Also getsignallabel
18-66
Vue de la page 389
1 2 ... 385 386 387 388 389 390 391 392 393 394 395 ... 530 531

Commentaires sur ces manuels

Pas de commentaire