Main Content

Organize System Composer Files in a Project

Use projects to organize your work, manage files and settings, and interact with source control. Using System Composer™ generates multiple files, including but not limited to:

  • Architecture models (.slx)

  • Simulink® Requirements™ links (.slmx) and requirement sets (.slreqx)

  • Allocation sets (.mldatx)

  • Profiles (.xml)

  • Interface data dictionaries (.sldd)

  • Simulink Test™ files (.mldatx)

  • MATLAB® functions (.m) and live scripts (.mlx)

  • Simulink behavior models (.slx)

To help organize these files, use projects.

Use Projects to Organize Files and Folders

Create a project from a folder with supporting files and folders.

For example, this folder structure represents typical steps in the process of model-based systems engineering: models, profiles, interfaces, requirements, tools, tests, livescripts

The models folder can include architecture models, Simulink behavior models, and requirement links. If architecture models and behavior models are constructed separately, you can split the models folder into two folders, architectures and simulation, and decompose the folders further to represent the different stages of architectural model-based design. The tools folder can include functions and scripts for trade studies and analyses.

  1. In MATLAB, navigate to the directory where your model files and artifacts are located.

  2. Select New > Project > From Folder. Enter a name for your project.

    New Project dialog with name and folder path.

  3. The files in the folder you specify are added to the project, and the Project menu appears. To generate your own project shortcuts, on the Project Shortcuts tab, click New Shortcut or Organize Groups.

  4. You can open the project again using the generated .prj file in your directory.

    Project workspace with folder structure example.

Any changes you make will be organized in the project. You can manage changes to files with multiple contributors using source control. For more information on source control with projects, see About Source Control with Projects.

To illustrate file dependencies across the project, use the Dependency Analyzer. For more information, see Dependency Analysis for Projects. To check and upgrade the project, use the Run Checks option.

Related Topics