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
MaskInitializationparameter evaluation, provided the gcb remains unchanged in the mask initialization code.The last block loaded after opening a model
Examples
Input Arguments
Version History
Introduced before R2006a