TLC Command-Line Options
TLC command-line options are model options set before code generation to configure the real-time application and the real-time RTOS.
To set these options from the Code Generation pane in the Configuration Parameters dialog box, select Advanced Parameters. Type the option in the TLC command line options text box in this form:
-aoption_name1=option_value1 -aoption_nameN=option_valueN
Prefix each option name with -a
. Do not leave spaces around the
equal sign. Do not place a comma between consecutive value assignments.
To set these options from the Command Window, use the syntax:
set_param(model_name, ... 'TLCOptions', ... '-aoption_name1=option_value1 -aoption_nameN=option_valueN')
To read these options from the Command Window, use the syntax:
get_param(model_name, 'TLCOptions');
To remove these options, use the syntax:
set_param(model_name, 'TLCOptions', '')
Note
At this time, no TLC options for Simulink Real-Time are supported.