After creating a new Simulink® Project, unless you created the project from a model, then the Files node in the Project tree shows the empty Project Files view. Files under your chosen project root are not included in your project until you add them. If you created your project from a model, you already specified initial files to include in the project.
To display all files in your project folder (or
in the Files view, click the Project
Files View button and select All Files View You
might not want to include all files in your project. For example,
you might want to exclude some files under
your project, such as SVN or CVS source control folders.
To add existing files to your project, use any of these methods:
In All Files View, select files or folders, right-click, and select Add to Project or Add to Project (including child files).
To add files to your project, cut and paste or drag and drop files from a file browser or the Current Folder browser onto the Project Files view. If you drag a file from outside the project root, this moves the file and adds it to your project. You can drag files within project root to move them.
Add and remove project files at the command line using
To create new files or folders in the project, right-click a white space in the Files view and select New Folder or New File. The new files are added to the project.
To learn how to set up your project with all required files, see Run Dependency Analysis.
To add or remove project folders from the MATLAB® search path, see Specify Project Path.
To configure your project to automatically run startup and shutdown tasks, see Automate Startup Tasks with Shortcuts.
You can access your recent projects direct from MATLAB. See Open Recent Projects.
If you want to add source control, see Add a Project to Source Control.