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 (
Simulink® Requirements™ links (
.slmx) and requirement sets (
Allocation sets (
Interface data dictionaries (
Simulink Test™ files (
MATLAB® functions (
.m) and live scripts (
Simulink behavior models (
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 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
decompose the folders further to represent the different stages of architectural model-based
tools folder can include functions and scripts for trade
studies and analyses.
In MATLAB, navigate to the directory where your model files and artifacts are located.
Select New > Project > From Folder. Enter a name for your project.
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.
You can open the project again using the generated
.prjfile in your directory.
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.