Documentation

getSelectedSystem

Get system that Model Advisor targets

Description

Use thesystem= getSelectedSystem(ma)method to obtain the model or subsystem that is the target of theSimulink.ModelAdvisorobject.

Input Arguments

collapse all

Simulink.ModelAdvisorobject 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 theModel.Advisorobjectmatargets.

Introduced in R2006a