addStartupFile(proj,file)添加一个启动文件specified project. Startup files automatically run (if they are.mand.pfiles), load (if they are.matfiles), or open (if they are Simulink®models) when you open the project.
Project, specified as amatlab.project.Projectobject. UsecurrentProjectto create a project object from the currently loaded project.
file—Path of file character vector|string scalar
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.
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.