MATLAB Help Center
Determine if project is loaded
TF = isLoaded(proj)
TF = isLoaded(proj) determines if the specified project is loaded.
TF
proj
example
collapse all
Open the Times Table App project. Use currentProject to create a project object from the currently loaded project.
currentProject
openExample("matlab/TimesTableProjectExample") 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
Introduced in R2019a
currentProject | openProject | reload
openProject
reload
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office