Main Content
gcbp
Get Simulink.BlockPath
object for current block
Syntax
Description
returns the
path
= gcbpSimulink.BlockPath
object of the current block in the current system. The
current block is:
The most recently clicked block
The last block loaded after opening a model
The returned Simulink.BlockPath
object is context sensitive
to model hierarchy.
Examples
Version History
Introduced in R2019a