This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

isLoaded

(Not recommended) Determine if project is loaded

simulinkproject is not recommended. Use currentProject or openProject instead. For more information, see Compatibility Considerations.

Syntax

loaded = isLoaded(proj)

Description

example

loaded = isLoaded(proj) returns whether the project referenced by the project object proj is loaded.

Examples

collapse all

Open the airframe project and create a project object.

sldemo_slproject_airframe;
proj = simulinkproject;

Find out if the project is still loaded.

loaded = isLoaded(proj)
loaded =

     1

Input Arguments

collapse all

Project, specified as a project object. Use simulinkproject to create a project object to manipulate a Project at the command line.

Output Arguments

collapse all

Project loaded status, returned as true (1) if the project is loaded.

Data Types: logical

Compatibility Considerations

expand all

Not recommended starting in R2019a

See Also

Functions

Introduced in R2013a