Main Content

getSelectedSystem

Get system that Model Advisor targets

Description

Use the system = getSelectedSystem(ma) method to obtain the model or subsystem that is the target of the Simulink.ModelAdvisor object.

Input Arguments

collapse all

Simulink.ModelAdvisor object for which you want to obtain the model or subsystem that the object targets.

Output Arguments

collapse all

Name of the model or subsystem that the Model.Advisor object ma targets.

Introduced in R2006a