Main Content


Select Model Advisor task


The success = selectTask(ma, TaskIDs) method 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.

Introduced in R2006a