Main Content

Enable entry point stack profiling

Stack usage profiling during a SIL or PIL execution

Since R2023a

Description

App Configuration Pane: Debugging

Configuration Objects: coder.EmbeddedCodeConfig

Stack usage profiling of entry-point functions during a software-in-the-loop (SIL) or processor-in-the-loop (PIL) execution.

See Stack Usage Profiling for Code Generated From MATLAB Code (Embedded Coder).

Settings

Off

This value is the default value.

Disables stack usage profiling during a SIL or PIL execution.

On

Calculates stack usage of functions in the generated code, using data obtained from instrumentation code in the SIL or PIL application. Use the Code Profile Analyzer (Embedded Coder) to view the stack usage values for entry-point and internal functions.

Programmatic Use

Property: CodeStackProfiling
Values: false | true
Default: false

Version History

Introduced in R2023a