Main Content

Buffer size of dynamically-sized string (bytes)

Size of buffer for signals that have dynamic string data type

Model Configuration Pane: Code Generation / Interface


The Buffer size of dynamically-sized string (bytes) parameter specifies the size of the buffer (in bytes) that the code generator allocates for signals that have a dynamic string data type.


256 (default) | positive scalar

Specifies the number of bytes of the character buffer generated for dynamic string signals.

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: DynamicStringBufferSize
Type: character vector
Value: scalar
Default: 256

Version History

Introduced in R2018a