Simulink Reference    
gcbh

Get the handle of the current block.

Syntax

Description

gcbh returns the handle of the current block in the current system.

You can use this command to identify or address blocks that have no parent system. The command should be most useful to blockset authors.

Examples

This command returns the handle of the most recently selected block.

See Also


  gcb gcs