coder.profile.ExecutionStackSet - Aggregate stack usage profiling results from multiple SIL, PIL, or external mode

     simulations - MATLAB ([original](https://in.mathworks.com/help/ecoder/ref/coder.profile.executionstackset.html)) ([raw](?raw))

Main Content

Aggregate stack usage profiling results from multiple SIL, PIL, or external mode simulations

Since R2023b

Description

Use a coder.profile.ExecutionStackSet object for the aggregation of stack usage profiling results from multiple software-in-the-loop (SIL) or processor-in-the-loop (PIL) simulations of a model. Then, you can use the Code Profile Analyzer to identify the most demanding execution for each task in the generated code. You can also identify the code or model path that produces the most demanding execution.

Creation

Syntax

Description

`myResults` = coder.profile.ExecutionStackSet([modelName](#mw%5Fc05d00d7-a61e-4f8b-b61a-33416c63ae7c)); creates an object for storing stack usage profiling results produced by multiple SIL or PIL simulations of modelName.

example

Input Arguments

expand all

Name of simulation model.

Properties

expand all

Specifies the number of most demanding task executions to consider for each model simulation.

Example: resultsObject.ResultsPerTest=10;

Object Functions

add Aggregate stack usage profiles
addDetails Add text items to Code Profile Analyzer display or code profiling report
get Extract specific execution-time profile from aggregate of profiles
remove Remove execution-time profile from aggregate of profiles

Examples

Version History

Introduced in R2023b