Main Content


Extract specific stack usage profile from aggregate of profiles

Since R2023b



anExecutionProfile = myResultsObject.get(simulationName) returns a workspace variable that contains stack usage metrics for simulationName.


Extract Stack Usage Profile From Aggregate

For an example that uses the function, see Aggregate Stack Usage Profiles and Identify Most Demanding Task Execution.

Input Arguments

collapse all

Name of simulation that produced stack usage profile.

Example: executionProfileForRun2 = resultsObject.get('Run 2')

Object that contains aggregate of stack usage profiles produced by multiple software-in-the-loop (SIL) or processor-in-the-loop (PIL) simulations of a model.

Example: executionProfileForRun2 = resultsObject.get('Run 2')

Output Arguments

collapse all

Workspace variable that contains stack usage profiling data from named simulation.

Version History

Introduced in R2023b