Simulink.profiler.Data
Description
The Simulink.profiler.Data
object provides access to
simulation profiling metadata.
Creation
Access the Simulink.profiler.Data
object from the
SimulationMetadata.TimingInfo
field of the
Simulink.SimulationOutput
object.
Properties
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.
Example:
'vdp @ 21-Nov-2019 13;48:00'
Data Types: char
| string
UserString
— User documentation of profiling session
"" (default) | character vector | string scalar
Use the UserString
field to document relevant information about
the current profiling session
Example: profilingData.UserString = "Updated gain to reduce
chatter.";
Data Types: char
| string
rootUINode
— Block hierarchy of the model
Simulink.profiler.UINode
object
Block hierarchy of the model, returned as a
Simulink.profiler.UINode
object with the following fields:
Field | Value | Description |
---|---|---|
totalTime | double | Execution time of the block, as well as its children. |
selfTime | double | Execution time of the block, excluding its children |
numberOfCalls | double | Number of times the block was executed during the simulation. |
children | Simulink.profiler.UINode array | Contents of the current block |
path | string scalar | Path of the block relative to the top level of the model. Note The |
A Simulink.profiler.UINode
object corresponds to a row in the
block hierarchy view of the Simulink® Profiler.
rootExecNode
— Execution stack of the model
Simulink.profiler.ExecNode
Execution phases of the model, returned as a
Simulink.profiler.ExecNode
object with the following fields:
Field | Value | Description |
---|---|---|
totalTime | double | Execution time of the stack element, as well as its children. |
selfTime | double | Execution time of the stack element, excluding its children |
numberOfCalls | double | Number of times the stack element was executed during the simulation. |
location | Specific phase of the model's execution | |
children | Simulink.profiler.ExecNode array | Similar tasks corresponding to the execution phase of the parent. |
objectPath | string scalar | Path of the model element corresponding to the current element of the execution stack. Note The |
A Simulink.profiler.ExecNode
object corresponds to a row in the
execution stack view of the Simulink Profiler.
Version History
Introduced in R2020a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)