Create Labels - MATLAB & Simulink (2025)

Create Labels

In a project, use labels to organize files and communicate information to project users. You can create these types of label categories:

  • Single-valued — You can attach only one label from the category to a file.

  • Multi-valued — You can attach multiple labels from the category to a file.

The Labels tree has built-in labels in the single-valued Classification category:

  • You cannot rename or delete Artifact, Convenience, Derived, Design, None, Test, and Other.

  • You cannot annotate built-in labels.

To create a label category:

  1. In a project, right-click the Labels pane. Then select Create New Category.

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

  3. If you require a single-valued label category, select the Single Valued check box. The default is multi-valued.

  4. If you want to specify a data type for the label other than String, from the Type list, select Double, Integer, Logical, or None.

  5. Click Create.

To create a label in a category:

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

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

To rename or delete a category or label, right-click it and select Rename or Remove.

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

Related Topics

MATLAB Command

You clicked a link that corresponds to this MATLAB command:

 

Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.

Create Labels- MATLAB & Simulink (1)

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

Americas

Europe

Asia Pacific

Contact your local office

Create Labels
- MATLAB & Simulink (2025)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Cheryll Lueilwitz

Last Updated:

Views: 6664

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Cheryll Lueilwitz

Birthday: 1997-12-23

Address: 4653 O'Kon Hill, Lake Juanstad, AR 65469

Phone: +494124489301

Job: Marketing Representative

Hobby: Reading, Ice skating, Foraging, BASE jumping, Hiking, Skateboarding, Kayaking

Introduction: My name is Cheryll Lueilwitz, I am a sparkling, clean, super, lucky, joyous, outstanding, lucky person who loves writing and wants to share my knowledge and understanding with you.