annotate - Color profiled model components or open model with profiled components

     colored - MATLAB ([original](https://www.mathworks.com/help/ecoder/ref/coder.profile.executiontime.annotate.html)) ([raw](?raw))

Main Content

Color profiled model components or open model with profiled components colored

Syntax

Description

annotate([myExecutionProfile](#mw%5F8a81d97a-558c-41b8-940e-7f9d32818d53)) 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.

example

Examples

collapse all

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

annotate(executionProfile);

Input Arguments

collapse all

When you run a SIL, PIL, or XCP-based external mode simulation with code execution profiling, the software generates the workspace variableexecutionProfile, which you specify in > > > .

Example: executionProfile

Version History

Introduced in R2016b