Create Labels

In Simulink® Project, to add a new category of labels:

  1. In the Labels pane, right-click Labels and select Create New Category.

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

  3. If you want to attach only one label of the category to a file at a time, select the check box Single Valued.

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

  4. You can also change the Type selection to change the data type t store in the label, for example, Double, Logical, String, None, or Integer.

  5. Click Create.

To add a new label in any category:

  1. In the Labels pane, right-click the category name under Labels and select Create New Label.

  2. In the dialog box, enter a name for the new label and click OK.

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

To create new labels at the command line, see Automate Project Management Tasks.

After you create labels, you can use them to label and group files. See Add Labels to Files.

Related Examples

Was this topic helpful?