MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manuale di Servizio Pagina 122

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 281 282

Commenti su questo manuale

Nessun commento