MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS Guía de usuario Pagina 155

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 210
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 209 210

Comentarios a estos manuales

Sin comentarios