Main Content

Create Project from Model

Create a project to organize your model and any dependent files. Use Create Project from Model to run a dependency analysis on your top model to identify required files.

Tip

For a simpler option that automates more steps, see Create Project from Existing Folder.

Projects can help you organize your work and collaborate in teams. Projects can help you:

  • Find all your required files.

  • Manage and share files, settings, and user-defined tasks.

  • Interact with source control.

  1. In a Simulink® model, on the Simulation tab, select New > Project > New Project from this Model.

    Simulink runs a dependency analysis on your model to identify required files and a project root location that contains all dependencies.

  2. In the Create Project dialog box, you can edit these settings:

    • Name — By default, the name of the suggested project root folder.

    • Folder — A folder that dependency analysis identifies to contain all dependencies. To change this setting, click to select a different folder in the file system hierarchy between the file system root and the model folder.

    The project includes all file dependencies in the project root folder. All external dependencies are listed under Dependencies. If required files are outside your project root folder, then you cannot add these files to your project. An external dependency might not indicate a problem if the file is on your path and is a utility or other resource that is not part of your project.

  3. Click OK to create the project that contains your model and any other specified files.

For an example showing what you can do with projects, see Explore Project Tools with Airframe Project.

See Also

Topics