Main Content

Enable execution profiling

Instrumentation for profiling

Description

App Configuration Pane: Debugging

Configuration Objects: coder.MexCodeConfig

Enabling profiling of generated MEX function.

Settings

Off

This value is the default value.

The code generator does not include the instrumentation for profiling in the generated MEX function.

On

The code generator includes the instrumentation for profiling in the generated MEX function. You can then use the MATLAB® Profiler to profile the MEX. See Profile MEX Functions by Using MATLAB Profiler.

Programmatic Use

Property: EnableMexProfiling
Values: false | true
Default: false

Version History

Introduced in R2018a