Main Content

annotate

Color profiled model components or open model with profiled components colored

Syntax

annotate(executionProfile)

Description

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.

annotate(executionProfile) 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.

Introduced in R2016b