Main Content

Execution Parameters

Real-time task execution time, overload management

To get debug information about the target computer and the real-time application, use the execution parameter blocks. Debug information includes information about target computer CPU overloads and the execution time reached by the real-time application.

Functions

startProfilerStart profiling service on target computer (Since R2020b)
stopProfilerStop profiling service on target computer (Since R2020b)
getProfilerDataRetrieve profile data object (Since R2020b)
resetProfilerReset profiling service state to Ready (Since R2020b)
getPersistentVariablesGet persistent variables from the Simulink Real-Time target computer to MATLAB (Since R2022a)
setPersistentVariablesSet persistent variables from MATLAB to the Simulink Real-Time target computer (Since R2022a)

Blocks

SLRT Overload OptionsSelect CPU overload options (Since R2020b)
Persistent Variable ReadRead persistent variable value from target computer (Since R2022a)
Persistent Variable WriteWrite persistent variable value to target computer (Since R2022a)

Featured Examples