Main Content
ID property
Class: ModelAdvisor.Task
Namespace: ModelAdvisor
Identifier for task
Values
Character vector
Default: ''
(empty
character vector)
Description
The ID
property specifies a permanent,
unique identifier for the task.
Note
The Model Advisor automatically assigns a unique identifier 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';