Main Content


Color profiled model components or open model with profiled components colored



annotate(myExecutionProfile) colors the profiled model components blue. If the model is closed, this command opens the model, with profiled components colored blue. Clicking a blue component opens a window that displays execution-time metrics for generated code.


collapse all

To annotate the profiled model, use the annotate function and the executionProfile workspace variable.


Input Arguments

collapse all

When you run a SIL or PIL simulation with code execution profiling, the software generates the workspace variable executionProfile, specified in Configuration Parameters > Code Generation > Verification > Workspace variable.

Example: executionProfile

Introduced in R2016b