Main Content

SLRT Overload Options

Select CPU overload options

Since R2020b

  • SLRT Overload Options block

Libraries:
Simulink Real-Time / Target Management

Description

The SLRT Overload Options block configures CPU overload options for the model rate identified through the TID port. This block outputs the current CPU overload count for the identified rate. If the Enable TET Output parameter is on, the block outputs TET data that you can mark for data logging in the Simulation Data Inspector.

Image of the SLRT Overload Options block with optional TET output marked for logging in the Simulation Data Inspector

Ports

Input

expand all

Connect any signal from the model to the TID (Task ID) port and the block applies the overload options to the model task in which the signal executes.

Example: 1

Output

expand all

The CPU overload count for the selected model rate.

Parameters

expand all

The number of startup execution steps for which overloads are ignored.

Programmatic Use

startupDur

The source of CPU overloads for the model rate during startup can be a tunable parameter or a block input port.

Programmatic Use

startupDurSrc

The number of accepted overloads before execution is halted. There is a separate overload counter for each sub-rate. Each counter is compared to Max Overloads separately, not compared to the sum of the counters.

Programmatic Use

maxOverload

The source of CPU overloads for the model rate after startup can come from a tunable parameter or from the block input port.

Programmatic Use

maxOverloadSrc

When enabled, the CPU overload data is output for display in the TET monitor and the Simulation Data Inspector.

Programmatic Use

TETFlag

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2020b