Main Content
getSource
Navigate from node object to block that generated it
Description
returns the Simulink Identifier (SID) of the block that generated data in the specified
block_id
= getSource(node
)simscape.logging.Node
object. If the node object corresponds to a
variable, returns the parent block for that variable. Before you call this object function,
you must load the model. You must also 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.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015b