MATLAB XPC TARGET RELEASE NOTES Uživatelská příručka Strana 390

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 531
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 389
1 2 ... 385 386 387 388 389 390 391 392 393 394 395 ... 530 531

Komentáře k této Příručce

Žádné komentáře