add - Aggregate stack usage profiles - MATLAB (original) (raw)
Main Content
Aggregate stack usage profiles
Since R2023b
Syntax
Description
[myResultsObject](#mw%5F4245adc3-c2fa-400b-a1ce-cb5cd0a76941).add([simulationName](#mw%5F3a96562c-1150-48d4-ba1f-da78c00329af), [anExecutionProfile](#mw%5F3cbbe3d2-faa7-4d3d-8758-72ff0b152659));
adds the stack usage metrics in anExecutionProfile
tomyResultsObject
and associates the added data withsimulationName
. Use this function to create an aggregate of profiles from multiple software-in-the-loop (SIL) or processor-in-the-loop (PIL) simulations of a model.
Examples
Input Arguments
Name for simulation that produced stack usage metrics.
Example: resultsObject.add('Test 1', simOut.stackProfile);
Workspace variable that contains stack usage metrics from the model simulation.
Example: resultsObject.add('Test 1', simOut.stackProfile);
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: resultsObject.add('Run 1', simOut.stackProfile);
Version History
Introduced in R2023b