Main Content

Test Case Tag

Metric ID



This metric returns the tags for a test case. You can add custom tags to a test case by using the Test Manager.

Computation Details

The metric includes only test cases in the project that test the model or subsystems in the unit for which you collect metric data.


To collect data for this metric:

  • In the Model Testing Dashboard, click a widget in the Tests with Tag section to display the results in a table.

  • Use getMetrics with the metric ID TestCaseTag.

Collecting data for this metric loads the model file and test files and requires a Simulink® Test™ license.


For this metric, instances of metric.Result return Value as a string.

Related Topics