Get system that Model Advisor targets
system = getSelectedSystem(ma)
Use the system = getSelectedSystem(ma) method to obtain the model or subsystem that is the target of the Simulink.ModelAdvisor object.
system
ma
Simulink.ModelAdvisor
collapse all
Simulink.ModelAdvisor object for which you want to obtain the model or subsystem that the object targets.
Name of the model or subsystem that the Model.Advisor object ma targets.
Model.Advisor