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.


(Not recommended) Determine if project is loaded

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


loaded = isLoaded(proj)



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


collapse all

Open the airframe project and create a project object.

proj = simulinkproject;

Find out if the project is still loaded.

loaded = isLoaded(proj)
loaded =


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


Introduced in R2013a