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

  • 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 93
3
Writing Target Language Files
3-20
The RTW TLC Function Library
The file funclib.tlc contains the RTW TLC function library. This file contains
the necessary TLC functions required to write a block target file.
Chapter 4, “Target Language Compiler Function Library Reference,” contains
detailed descriptions of all the TLC functions. This section focuses on the most
commonly used TLC functions, providing a general description of the functions.
Table 3-6: Common TLC Functions
LibDefineRWork(block, name, width)
LibDefineIWork(block, name, width)
LibDefinePWork(block, name, width)
LibCacheFunctionPrototype(buffer)
LibCacheDefine(buffer)
LibIsDiscrete(tid)
LibDataOutputPortWidth(portIdx)
LibDataInputPortWidth(portIdx)
LibBlockOutputSignal(portIdx, ucv, lcv, sigIdx)
LibBlockInputSignal(portIdx, ucv, lcv, sigIdx)
LibBlockParameter(paramRef, ucv, lcv, sigIdx)
LibBlockParameterAddr(paramRef, ucv, lcv, sigIdx)
LibBlockMatrixParameter(paramRef, rowUcv, rowLcv, rowSigIdx,
colUcv, colLcv, colSigIdx)
LibBlockMatrixParameterAddr(paramRef, ucv, lcv, sigIdx)
LibDiscreteState(ucv, lcv, sigIdx)
LibConinuousState(ucv, lcv, sigIdx)
LibBlockMode(ucv, lcv, sigIdx)
LibBlockRWork(rworkRef, ucv, lcv, sigIdx)
Zobrazit stránku 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 281 282

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

Žádné komentáře