Skip to Main Content Skip to Search
Product Documentation

Manage Project Files

Choose Views of Files to Manage

Use the Project File Management view to explore project files, interact with source control, view modified or labeled files, and save tasks or shortcuts.

  1. Click Management in the Project tree.

  2. Use the nodes in the tree to choose the view with the files you want to manage:

    • All Files — View all files within your project folder (or projectroot). This list can be different from the list in the Project Files node. For example, you might want to exclude some files under projectroot from your project, such as SVN or CVS source control folders.

    • Project Files — View only files added to your project. This list can be different from the list of all files within your project folder.

    • Modified Files— View only files with changes in your project. This view is available only if you are using a source control integration with your project. See Review Changes and Commit Modified Files.

    • Shortcuts — View files you have specified as shortcuts for frequent tasks, such as opening top-level models, running startup or shutdown code, or simulating models. You can set up shortcuts to run when you open or close your project, or to run manually. The Shortcuts node is blank until you create shortcuts from the All Files or Project Files views. See Create Shortcuts to Set Up Projects and Run Frequent Tasks.

Group and Sort File Views

To group and sort the views in all File Management nodes:

Work With Project Files

In all File Management nodes:

Back Out Changes

Use the Undo buttons to back out recent changes. Use the Undo or Redo buttons and their drop-down list buttons to undo or redo recent actions in the project.

Label Files

Use labels to organize your files. The Project automatically applies built-in labels for File categories. You can create your own labels.

The Labels view:

  1. To add a new category of labels, right-click in the blank areas of the Categories list and select Create New.

    1. In the dialog box, enter a name for the new category.

    2. If only one label of the category can be attached to a file at a time, then select the check box Single Valued.

      For example, if you want to create a category with labels for Prototype and Release and only want to apply one of those labels to any specific file, then select Single Valued to ensure only one label can be attached.

    3. If desired, change the Type selection to change the data type that can be stored in the label, e.g., double, logical, integer, string, or none.

    4. Click Create to create your new category.

  2. To add a new label in your new category, right-click in the blank areas of the Labels list and select Create New.

    1. In the dialog box, enter a name for the new label.

    2. Click OK to create the label.

    3. Repeat to create more labels in your selected category.

  3. To delete labels, right-click to Remove selected user-defined categories and labels. You cannot delete built-in labels.

To add labels at the command line, see the Simulink.ModelManagement.Project.CurrentProject reference page.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS