MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Guía de usuario Pagina 169

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 386
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 168
Model Execution
6-7
Note that the multitasking execution assumes that all tasks are multiples of
the base rate. Simulink enforces this when you have created a fixed-step
multitasking model.
The multitasking execution loop is very similar to that of singletasking, except
for the use of the task identifier (tid) argument to ModelOutputs and
ModelUpdate. The
ssIsSampleHit or ssIsSpecialSampleHit macros use the
tid to determine when blocks have a hit. For example, ModelOutputs (tid=5)
will execute only the blocks that have a sample time corresponding to task
identifier 5.
Vista de pagina 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 385 386

Comentarios a estos manuales

Sin comentarios