Introduction to Profiling Models

The following example, with the slAccelDemoF14 model, illustrates the use of Simulink® Accelerator™ profiler feature.

Activating the Profiler

To activate the Simulink® Profiler, in the Simulink Editor, on the Debug tab, under Performance Advisor, click Activate Profiler. You can also issue a set_param command at the MATLAB® command prompt.

modelName = 'slAccelDemoF14';

Running the Simulation

While the simulation runs, the profiler is collecting data for the report. Once the simulation is complete it creates an HTML report.


Viewing the Report

The generated report consists of a summary HTML-files. Hyperlinks in the summary enable you to review the detailed timing information for each function.

Cleaning Up

Close the model.