Start and stop execution profiler on target computer
Simulink Real-Time / Profiling
A rising edge on the Enable Profiler block
input starts the execution profiler. A rising edge on the
stops the execution profiler. A rising edge on both ports has no effect.
Start — Starts the profiler
Start input changes from
1, the block starts the
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.
Stop — Stops the profiler
Stop input changes from
1, the block stops the
If the profiler is still running when the application stops, the
profiler stops by itself. You do not have to trigger the
The amount of data
collected is limited to
1GB. The profiler stops by itself when it reaches
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2020b