Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

slprofreport

Regenerate profiler report from data, ProfileData, saved from previous run

Syntax

slprofreport(model_nameProfileData)

Description

When you run a model with the profiler enabled, the simulation generates the data and saves it in the variable, model_nameProfileData. slprofreport(model_nameProfileData) generates a profiler report based on the data in model_nameProfileData, saved from the model run.

Input Arguments

ProfileData

Variable that contains profiler data from a model run. The variable name consists of the model name and ProfileData, for example, vdpProfileData.

Default: None

Examples

collapse all

Regenerate the Profiler report for model vdp

In the MATLAB® Command Window, start the vdp model.

In the Simulink® editor window, run vdp model with Simulink Profiler enabled.

Simulink stores the data to the variable vdpProfileData.

To review the report, in the MATLAB Command Window

slprofreport(vdpProfileData)

The Simulink Profiler Report window is displayed.

Introduced in R2012a

Was this topic helpful?