Main Content

getCoderExecutionProfile

Extract execution-time profile for code generated from MATLAB function (MATLAB code generation)

Description

example

myExecutionProfile = getCoderExecutionProfile('myMATLABFunction') creates a workspace variable that contains the execution-time profile of the code generated from your MATLAB® function. Run the command after the completion and termination of the SIL/PIL execution of your MATLAB function.

Examples

collapse all

To get the coder execution profile for a MATLAB function, use the getCoderExecutionProfile function.

myExecutionProfile = getCoderExecutionProfile('myMATLABFunction');

Input Arguments

collapse all

The myMATLABFunction is the MATLAB function whose generate code is profiled for execution-time.

Example: myMATLABFunction

Output Arguments

collapse all

The myExecutionProfile is a workspace variable that contains the execution-time profile of the code generated from your MATLAB function.

Version History

Introduced in R2014b