isLoaded

(Not recommended) Determine if project is loaded

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

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