MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Instrukcja Obsługi Strona 122

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 282
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 121
3
Writing Target Language Files
3-48
with the %roll that works under both situations. Table 3-8 contains the valid
variables assigned to
rollVars.
For example,
%assign rolVars = ["u0" "RWork" "<param>/Gain"]
%roll SigIdx = lcv = RollThreshold, block, "Roller", rollVars
declares the first block input (input zero), all the block’s RWorks, and the Block
parameter,
Gain.
Table 3-8: Roll Table Variables
Block Variable Description
Inputs U
ui
All inputs
input
i
Outputs Y
yi
All outputs
output
i
Parameters P
<param>/name
All parameters
parameter name
RWork RWork
<rwork>/name
All RWorks
name rwork
IWork IWork
<iwork>/name
All IWorks
name iwork
PWork PWork
<pwork>/name
All PWorks
name pwork
Mode M
Mode
Previous
Zero-Crossing
PZC
Zero-crossings
Przeglądanie stron 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 281 282

Komentarze do niniejszej Instrukcji

Brak uwag