Main Content

selectTask

Select Model Advisor task

Description

The success = selectTask(ma, TaskIDs) function selects the Model Advisor tasks.

Input Arguments

collapse all

Simulink.ModelAdvisor object for which you want to select Model Advisor tasks.

Cell array of Task IDs that you want to select for the Simulink.ModelAdvisor object, which you specify as an input.

Output Arguments

collapse all

Boolean value that indicates whether the Model Advisor selected tasks. A value of 1 indicates that the Model Advisor successfully selected the tasks. A value of 0 indicates that the Model Advisor did not select the tasks.

Version History

Introduced in R2006a