%BDROOT Return the name of the top-level Simulink system.
%   BDROOT returns the top-level system name.
%   
%   BDROOT('OBJ'), where 'OBJ' is a system or block path name, returns the
%   name of the top-level system containing the specified object.
%   
%   BDROOT(HANDLE), where 'HANDLE' is the numeric handle for a system or block,
%   returns the numeric handle of the top-level system containing the specified
%   object.
%   
%   Example:
%   
%       bdroot(gcb)
%   
%   returns the name of the top-level system that contains the current
%   block.
%
%       bdroot(gcbh)
%
%   returns the numeric handle of the top-level system that contains the
%   current block.
%
%   BDROOT(SYS), where SYS is a cell array of system names or handles,
%   returns a cell array containing the corresponding top-level system
%   names or handles.
%
%   BDROOT(SYS), where SYS is a numeric array of system handles, returns a
%   numeric array containing the corresponding top-level system handles.
%   
%   See also FIND_SYSTEM, GCB, GCS, GCBH

%   Copyright 1990-2013 The MathWorks, Inc.
