Whether block diagram is in memory
isLoaded = bdIsLoaded(bdnames
)
isLoaded = bdIsLoaded(
returns
whether or not a block diagram is in memory. bdnames
) bdnames
can
be a character vector or a cell array of character vectors. All character
vectors must be valid block diagram 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.
bdIsLoaded('sf_car')
bdIsLoaded({'sf_car','vdp'})