Fully specified Simulink block path
A Simulink.BlockPath
object represents a fully specified block
path that uniquely identifies a block within a model hierarchy, even when the model hierarchy
references the same model multiple times.
Use either the Simulink.BlockPath
(described here) or the gcbp
function
to create a Simulink.BlockPath
object. To get a
Simulink.BlockPath
object for the most recently clicked or loaded block,
use the gcbp
function.
creates an empty
bp
= Simulink.BlockPathBlockPath
object.
convertToCell | Convert a block path to a cell array of character vectors |
getBlock | Get a single block path in a model reference hierarchy |
getLength | Get the number of hierarchy levels in a block path |
open | Open the specified model, library, subsystem, or block |
validate | Determine whether the block path represents a valid block hierarchy |