Using Simulink    
bdroot

Return the name of the top-level Simulink system.

Syntax

Description

bdroot with no arguments returns the top-level system name.

bdroot('obj') where 'obj' is a system or block pathname, returns the name of the top-level system containing the specified object name.

Examples

This command returns the name of the top-level system that contains the current block.

See Also


 bdclose close_system