get
Access node of simulation logging data tree using slash-delimited path
Since R2020b
Description
returns a node
= get(simlog
, simlogPath
)simscape.logging.Node
object associated with the specified path,
simlogPath
, in the simulation logging data tree,
simlog
. Before you call this object function, you must have the
simulation log variable in your current workspace. Create the simulation log variable by
simulating the model with data logging turned on, or load a previously saved variable from a
file.
This object function provides an alternative method of traversing a simulation logging
data tree, by using a slash-delimited path of block names instead of a dot-delimited path of
node IDs. It is especially convenient if your model contains blocks with non-ASCII
characters in their names, because these names are not easily translatable into node IDs.
The added benefit is tab completion, which lets you specify simlogPath
with little or no typing.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020b