Documentation

selectTask

Select Model Advisor task

Description

Thesuccess= selectTask(ma,TaskIDs)method selects the Model Advisor tasks.

Input Arguments

collapse all

Simulink.ModelAdvisorobject for which you want to select Model Advisor tasks.

Cell array of Task IDs that you want to select for theSimulink.ModelAdvisorobject, which you specify as an input.

Output Arguments

collapse all

Booleanvalue that indicates whether the Model Advisor selected tasks. A value of1indicates that the Model Advisor successfully selected the tasks. A value of0indicates that the Model Advisor did not select the tasks.

Introduced in R2006a