Determine if project is loaded
TF = isLoaded(proj)
example
TF = isLoaded(proj) determines if the specified project is loaded.
TF
proj
collapse all
Open the Times Table App project. Use currentProject to create a project object from the currently loaded project.
currentProject
matlab.project.example.timesTable proj = currentProject;
Find out if the project is still loaded.
loaded = isLoaded(proj)
loaded = 1
Close the project and check again.
close(proj) loaded = isLoaded(proj)
loaded = 0
matlab.project.Project
Project, specified as a matlab.project.Project object. Use currentProject to create a project object from the currently loaded project.
1
0
Load status, returned as 1 (true) if the project is loaded.
Data Types: logical
logical
currentProject | openProject | reload
openProject
reload