Programmatically access Simulink Profiler information
Simulink.profiler.Data object provides access to
simulation profiling metadata.
Simulink.profiler.Data object from the
SimulationMetadata.TimingInfo field of the
run — Profiling session identifier
character vector | string scalar
This is a read only property.
Identifier of the profiling session, returned as a character vector or string scalar.
'vdp @ 21-Nov-2019 13;48:00'
UserString — User documentation of profiling session
"" (default) | character vector | string scalar
UserString field to document relevant information about
the current profiling session
profilingData.UserString = "Updated gain to reduce
rootUINode — Block hierarchy of the model
Block hierarchy of the model, returned as a
Simulink.profiler.UINode object with the following fields:
Execution time of the block, as well as its children.
Execution time of the block, excluding its children
Number of times the block was executed during the simulation.
Contents of the current block
Path of the block relative to the top level of the model.
Simulink.profiler.UINode object corresponds to a row in the
block hierarchy view of the Simulink® Profiler.
rootExecNode — Execution stack of the model
Execution phases of the model, returned as a
Simulink.profiler.ExecNode object with the following fields:
Execution time of the stack element, as well as its children.
Execution time of the stack element, excluding its children
Number of times the stack element was executed during the simulation.
|Specific phase of the model's execution|
Similar tasks corresponding to the execution phase of the parent.
Path of the model element corresponding to the current element of the execution stack.
Simulink.profiler.ExecNode object corresponds to a row in the
execution stack view of the Simulink Profiler.
Introduced in R2020a