Remove shutdown file from project shutdown list
Remove a Shutdown File
Open the Times Table App project. Use
to create a project object from the currently loaded project.
openExample("matlab/TimesTableProjectExample") proj = currentProject;
Specify a file of executable MATLAB® code to run as the project shuts down. Automatically run the file when the project closes, by making it a shutdown file.
filepath = fullfile("utilities","runTheseTests.m"); addShutdownFile(proj,filepath);
Remove the shutdown file. The code no longer runs when the project shuts down.
proj — Project
Project, specified as a
currentProject to create a project object from the currently
file — Path of file
character vector | string scalar
Path of the MATLAB file to remove, including the file extension, specified as a character vector or string scalar. Specify the path relative to the project root folder. The file must be within the root folder.
Introduced in R2019a