MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Servisní příručka Strana 122

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 282
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 281 282

Komentáře k této Příručce

Žádné komentáře