This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ID property

Class: ModelAdvisor.Task
Package: ModelAdvisor

Identifier for task


Character vector

Default: '' (empty character vector)


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


    • 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.


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