MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Podręcznik Użytkownika Strona 171

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 386
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 170
Model Execution
6-9
continuous blocks, then the integration step size determines the base sample
rate.
For example, if the model code is a controller operating at 100 Hz, then every
0.01 seconds the background task is interrupted. During this interrupt, the
controller reads its inputs from the analog-to-digital converter (ADC),
calculates its outputs, writes these outputs to the digital-to-analog converter
(DAC), and updates its states. Program control then returns to the background
task. All of these steps must occur before the next interrupt.
Przeglądanie stron 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 385 386

Komentarze do niniejszej Instrukcji

Brak uwag