Get tasks run by Model Advisor
TaskIDs = getTaskAll(ma)
Use the TaskIDs = getTaskAll(ma) method to obtain the tasks that are run for the Simulink.ModelAdvisor object ma.
TaskIDs
ma
Simulink.ModelAdvisor
collapse all
Simulink.ModelAdvisor object for which you want to obtain the tasks that the Model Advisor ran.
Cell array of Task IDs that are run for the Simulink.ModelAdvisor object that you specify as an input.