Main Content

get

Extract specific execution-time profile from aggregate of profiles

Since R2023b

Description

anExecutionProfile = myResultsObject.get(simulationName) returns a workspace variable that contains execution-time metrics for simulationName.

example

Examples

Extract Profile From Aggregate

For an example that uses the function, see Aggregate Execution-Time Profiles and Identify Worst-Case Task Execution.

Input Arguments

collapse all

Name of simulation that produced execution-time profile.

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

Object that contains aggregate of execution-time profiles produced by multiple software-in-the-loop (SIL), processor-in-the-loop (PIL), or external mode simulations of a model.

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

Output Arguments

collapse all

Workspace variable that contains execution profiling data from named simulation.

Version History

Introduced in R2023b