Main Content


Get selected Model Advisor tasks


Use the TaskIDs = getSelectedTask(ma) function to obtain the tasks that are selected for the Simulink.ModelAdvisor object ma.

Input Arguments

collapse all

Simulink.ModelAdvisor object for which you want to obtain the currently selected tasks.

Output Arguments

collapse all

Cell array of selected Task IDs for the Simulink.ModelAdvisor object that you specify as an input.

Version History

Introduced in R2006a