MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manuel de service Page 133

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 282
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 132
LibBlockParameter
4
-11
LibBlockParameter
Purpose
Determines a block’s parameter in the appropriate form depending on the state
of loop rolling
Syntax
%<LibBlockParameter(param, ucv, lcv, sigIdx)>
Arguments
param
Reference to a block parameter identifier.
ucv
User control variable string.
lcv
Loop control variable string.
sigIdx
Integer offset into signal.
Returns
A block’s parameter in the appropriate form depending on the state of loop
rolling,
InlineParameters
, and the specified index.
Description
LibBlockParameter
returns a block’s parameter in the appropriate form
depending on the state of loop rolling,
InlineParameters
, and the specified
index. The user control variable (
ucv
) has higher precedence than
lcv
and
sigIdx
. That is, the following results if
ucv
is specified:
%<LibBlockParameter(Gain, "ucv", "", 0)>
Otherwise, the
ucv
is specified as
""
, and the result depends on the truth table
below. Note that loop rolling is true whenever the loop control variable (
lcv
) is
not null.
Assume:
%<LibBlockParameter(Gain, "", "i", 0)>
P.blk.Gain[0] = 4.55
rtP.block.prm
If
ucv
is specified and
prm
is scalar.
rtP.block.prm[ucv]
If
ucv
is specified and
prm
is vector.
Vue de la page 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 281 282

Commentaires sur ces manuels

Pas de commentaire