Simulink Reference Previous page   Next Page
gcb

Get the pathname of the current block

Syntax

Description

gcb returns the full block path name of the current block in the current system.

gcb('sys') returns the full block path name of the current block in the specified system.

The current block is one of these:

Examples

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

This command gets the value of the Gain parameter of the current block.

See Also


Previous page  find_system gcbh Next page

© 1994-2005 The MathWorks, Inc.