MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Betriebsanweisung Seite 169

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 386
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 385 386

Kommentare zu diesen Handbüchern

Keine Kommentare