Main Content

Buffer size of dynamically-sized string (bytes)

Buffer size for signals with dynamic string data type during simulation

Since R2025a

Model Configuration Pane: Simulation Target

Description

The Buffer size of dynamically-sized string (bytes) parameter specifies the size of the buffer, in bytes, allocated during simulation for signals that have a dynamic string data type.

Settings

256 (default) | positive scalar

Specifies the size of the character buffer, in bytes, allocated during simulation for signals with dynamic string data type. C Function block uses this parameter to interpret dynamic Simulink® strings as C character arrays, with its length specified by this parameter.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: SimDynamicStringBufferSize
Type: character vector
Values: scalar
Default: 256

Version History

Introduced in R2025a