Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

Examples

bdIsLoaded('sf_car')
returns a logical scalar.

bdIsLoaded({'sf_car','vdp'})
returns a 1-by-2 logical array.

Introduced in R2008a

Was this topic helpful?