| Using Simulink | ![]() |
Return the name of the top-level Simulink system.
Syntax
bdroot
bdroot('obj')
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.
bdroot(gcb)
See Also
find_system, gcb
| bdclose | close_system | ![]() |