Skip to Main Content Skip to Search
Product Documentation

bdIsLoaded - Whether block diagram is in memory

Syntax

isLoaded = bdIsLoaded(bdnames) 

Description

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. Examples:

Examples

bdIsLoaded('sf_car')

returns a logical scalar.

bdIsLoaded({'sf_car','vdp'})

returns a 1*2 logical array.

See Also

find_system

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS