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.

Simulink.architecture.profile

Generate profile report for model configured for concurrent execution

Syntax

Simulink.architecture.profile(model)
Simulink.architecture.profile(model,numSamples)

Description

example

Simulink.architecture.profile(model) generates a profile report for a model configured for concurrent execution. Subsequent calls to the command for the same model name overwrite the existing profile report.

example

Simulink.architecture.profile(model,numSamples) specifies the number of samples to generate a profile report.

Examples

collapse all

Generate profile report for the model slexMulticoreExample.

slexMulticoreExample;
Simulink.architecture.profile('slexMulticoreExample');

The command creates the file slexMulticoreExample_ProfileReport.html in the current folder and opens it.

Generate profile report for the model slexMulticoreExample with data for 120 time steps.

slexMulticoreExample;
Simulink.architecture.profile('slexMulticoreExample',120);

The command creates the file slexMulticoreExample_ProfileReport.html in the current folder.

Input Arguments

collapse all

Model to profile, specified as a character vector. Specify a model that is configured for concurrent execution.

Data Types: char

Number of time steps, specified as a real, positive integer. This value determines the number of steps to collect data for in the profiled model.

Data Types: single | double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

Introduced in R2014a

Was this topic helpful?