Add Labels to Files

In Simulink® Project, use labels to organize your files. The project automatically applies built-in labels for file categories. You can create your own labels, see Create Labels.

To add labels to files, use any of these methods:

  • To add a label to a single file, drag and drop the label from the Labels pane onto the file.

  • To label multiple files at once in the Files views or Dependency Graph, select the files you want to add labels to, then right-click and select Add Label. Use the dialog box to select labels to add and click OK.

  • To add labels programmatically, for example, in batch job functions, see Automate Project Management Tasks.

    Note:   After it is added to a file, a label persists across file revisions.

After you add labels, you can organize files by labels in the Files views and Impact graph. See Group and Sort File Views and Perform Impact Analysis.

If the project is under SVN source control, adding tags to all your project files enables you to mark versions. See Tag and Retrieve Versions of Project Files.

Related Examples

Was this topic helpful?