Main Content

Automatically allocate static memory

Description

Automatically allocate static memory for buffers used in external mode communication.

Category: Code Generation > Interface

Settings

Default: on

On

When an external mode simulation runs, the software uses model information, including the Maximum duration value, to determine and allocate the static memory required for external mode communication buffers.

Off

Use the Static memory buffer size field to specify memory allocation for external mode communication.

Dependencies

  • Setting Transport layer to XCP on TCP/IP or XCP on Serial enables this parameter.

  • Enabling this parameter enables Maximum duration.

  • Disabling this parameter enables Static memory buffer size.

Command-Line Information

Parameter: ExtModeAutomaticAllocSize
Type: character vector
Value: 'on' | 'off'
Default: 'on'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics