Documentation Center

  • Trial Software
  • Product Updates

ID property

Class: ModelAdvisor.Task
Package: ModelAdvisor

Identifier for task

Values

String

Default: '' (null string)

Description

The ID property specifies a permanent, unique identifier for the task.

    Note:  

    • The Model Advisor automatically assigns a string to ID if you do not specify it.

    • The value of ID must remain constant.

    • The Model Advisor generates an error if ID is not unique.

    • Group definitions must refer to tasks using ID.

Examples

MAT1 = ModelAdvisor.Task('com.mathworks.sample.TaskSample1');
MAT1.ID='Task_ID_1234';
Was this topic helpful?