Whether block diagram is in memory
isLoaded = bdIsLoaded(bdnames)
isLoaded = bdIsLoaded(bdnames) returns whether or not a block diagram is in memory. bdnames can be a string or a cell array of strings. All strings must be valid block diagram names (which are the same as valid MATLAB® variable names). It is an error to supply a path to a block or subsystem.
isLoaded is a logical array with one entry for each block diagram name.
returns a logical scalar.
returns a 1-by-2 logical array.