Documentation Center

  • Trial Software
  • Product Updates

isLoaded

Determine if Simulink Project is loaded

Syntax

Description

example

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

Examples

expand all

Find Out if Project Is Loaded

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

expand all

proj — Projectproject

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

Output Arguments

expand all

loaded — Loaded status1 | 0

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

Data Types: logical

See Also

Functions

Was this topic helpful?