Main Content

Enable custom code globals as function interface

Description

Specify the behavior of global variables in the C Caller custom code. If this option is selected, the variables declared as global in the custom code can be used as global arguments on the block interface.

Category: Simulation Target

Settings

Default: Off

On

Enables parsing of custom code global variables on the function interface. C Caller block treats the global variables in your custom code as global arguments on the block interface. These arguments appear in bold on the Port Specification table.

Off

Disables parsing of global variables on the block interface.

Command-Line Information

Parameter: CustomCodeGlobalsAsFunctionIO
Value: 'on' | 'off'
Default: 'on'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo recommendation
Safety precautionNo recommendation

See Also

| |

Related Topics