MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS Uživatelská příručka Strana 155

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 210
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 154
The C MEX S-Function SimStruct
3-111
ssIsSampleHit(S,st_index,
tid)
Used in mdlOutputs or mdlUpdate when your S-function has
multiple sample t imes to determine what task your S-function
is executing in. This should not be used in single rate
S-functions or for the
st_index corresponding to a continuous
task.
ssIsContinuousTask(S,tid)
Used in mdlOutputs or mdlUpdate when your S-function has
multiple sample times to determine if your S-function is
executing in the continuous task. This should not be used in
single rate S-functions, or if you d id not register a continuous
sample time.
Table 3-9: Sample Time SimStruct Macros (Continued)
Macro Description
Zobrazit stránku 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 209 210

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

Žádné komentáře