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

Main Content

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

Syntax

Description

[myExecutionProfile](#mw%5Fd2425756-3b16-4512-9d82-b577bf00c76a) = getCoderExecutionProfile('[myMATLABFunction](#mw%5F494c9adf-278f-4c6b-83b1-6039d96bbe44)') 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.

example

Examples

collapse all

To get the code generator 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