Contenido principal

Set logging buffer size automatically

R2026b

Automatically preallocate buffer size

Since R2026a

Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Groups / External mode

Description

Select Set logging buffer size automatically to automatically calculate and preallocate the logging buffer size on Raspberry Pi® based on the signal configuration of the model.

When enabled, the buffer size is determined automatically so that logged signals can be stored without overflow during external mode communication. When disabled, you can manually specify the buffer size using the Logging buffer size (in bytes) parameter.

Dependencies

To enable this parameter, set Communication interface to XCP on TCP/IP or XCP on CAN.

The default value of this parameter depends on the selected communication interface: On when set to XCP on CAN, and Off when set to XCP on TCP/IP.

Settings

On (default) | Off

Select whether to automatically calculate the logging buffer size.

On (default for XCP on CAN)

Automatically calculate and preallocate the logging buffer size based on the signal configuration of the model. The Logging buffer size (in bytes) parameter is disabled.

Off (default for XCP on TCP/IP)

Manually specify the logging buffer size using the Logging buffer size (in bytes) parameter.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2026a