Main Content

reload

R2026b

Reload project

Description

reload(proj) reloads the project. Use reload when you want to re-run the project startup shortcuts.

example

reload(proj,Prompt=false) does not prompt for confirmation before reloading the project.

Examples

collapse all

Open the Times Table App project. Use currentProject to create a project object from the currently loaded project.

openExample("matlab/TimesTableProjectExample")
proj = currentProject;

When you want to run the startup shortcuts again, reload the project.

reload(proj)

Input Arguments

collapse all

Project, specified as a matlab.project.Project object. Use currentProject to create a project object from the currently loaded project.

Since R2026b

Option to prompt confirmation before loading the project, specified as true, false, or as numeric or logical 1 (true) or 0 (false).

Version History

Introduced in R2019a