Main Content

Enable Profiler

Start and stop execution profiler on target computer

  • Library:
  • Simulink Real-Time / Logging

  • Enable Profiler block

Description

A rising edge on the Enable Profiler block Start input starts the execution profiler. A rising edge on the Stop input stops the execution profiler. A rising edge on both ports has no effect.

Ports

Input

expand all

When the Start input changes from 0 to 1, the block starts the profiler.

After the resources required to collect the data become available in the background, the profiler starts collecting data. Profiler preparation can span several time steps.

Data Types: Boolean

When the Stop input changes from 0 to 1, the block stops the profiler.

If the profiler is still running when the application stops, the profiler stops by itself. You do not have to trigger the Stop input.

The amount of data collected is limited to 1GB. The profiler stops by itself when it reaches this limit.

Data Types: Boolean

Introduced in R2020b