Create a New Project Using Templates
In a project, you can use templates to create and reuse a standard project structure.
To browse for templates, click Simulink on the MATLAB® Home tab, or on the Project tab, click New.
In the Simulink® start page, click a template in the list to read the description. For example, click
Simple Project
.The start page shows all project templates (
*.sltx
) on the MATLAB path. If your templates do not appear, locate them by clicking Open. In the Open dialog box, make*.sltx
files visible by changing the file type listModel Files
toAll MATLAB files
, and browse to your template.In the start page, select a template and click Create Project.
Templates created in R2017b or later warn you if required products are missing. Click the links to open Add-On Explorer and install required products.
In the Create Project dialog box, specify your project folder and edit the project name, and click Create Project.
Use Project Templates from R2014a or Before
To use project templates created in R2014a or earlier (.zip
files),
upgrade them to .sltx
files using Simulink.exportToTemplate
.
After you upgrade the templates to .sltx
and put them on the
MATLAB path, you can use the templates from the start page.
Related Examples
- Create a New Project from a Folder
- Create Templates for Standard Project Settings
- Create a Template from a Project Under Version Control
- Edit a Template
- Create Template from Model
- Clone Git Repository