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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 113
3
Writing Target Language Files
3-40
Configurable RTW Variables
This table lists the configurable RTW variables.
These variables can be changed at the command line. For example,
tlc –r model.rtw MATLAB/rtw/c/grt/grt.tlc
–IMATLAB/rtw/c/tlc –aInlineParameters=1
Or, if you’re using the RTW GUI within Simulink, simply modify the system
target file dialog entry box. For example, to override the default behavior of
FileSizeThreshold, modify the dialog box as:
grt.tlc –aFileSizeThreshold=20000
Table 3-7: Configurable RTW Variables
Variable Purpose
InlineParameters
Inlines parameter values in the generated code.
Possible values are 0 or 1 with a default of 0.
FileSizeThreshold
Specifies the maximum number of lines to output to
model.c before the file is split into model1.c,
model2.c, etc. Default value is 50,000 lines.
MatFileLogging
Creates a MATLAB workspace containing the
output of Outports, Scopes, and To Workspace
blocks. Possible values are 0 or 1 with a default of 1.
ModelBlockInfo
Creates a data structure for independently
monitoring signals in the model. Possible values are
0 or 1 with a default of 0.
RollThreshold
Specifies the threshold for loop rolling. The %roll
directive uses this value to determine whether a
section of code should be enclosed into a
for loop.
Vedere la pagina 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 281 282

Commenti su questo manuale

Nessun commento