Main Content
gcb
Get path name of current block
Syntax
Description
bl = gcb
returns the full block path name of the current
block in the current system. The current block is:
The most recently clicked block
The S-Function block currently executing its corresponding MATLAB® function
The block whose callback routine is being executed
The block whose mask is being evaluated as part of the
MaskInitialization
parameter evaluationThe last block loaded after opening a model
Examples
Input Arguments
Version History
Introduced before R2006a