Add startup file to project
Open the Times Table App project. Use
to create a project object from the currently loaded project.
matlab.project.example.timesTable proj = currentProject;
Automatically run the Times Table app when the project opens by making the
runTheseTests.m file a startup file.
filepath = fullfile("utilities","runTheseTests.m"); addStartupFile(proj,filepath);
Project, specified as a
currentProject to create a project object from the currently
file— Path of file
Path of the MATLAB® file to add, 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 project root folder.