To find a list of all active and inactive variant subsystems in MATLAB, follow these steps:
Open the Simulink model that you want to analyze.
In the MATLAB Command Window, type the following command:
main.m166 chars5 lines
This command finds all the active variant subsystems in the Simulink model and displays them in the Command Window.
main.m135 chars3 lines
This command finds and displays a list of all the inactive variant subsystems in the Simulink model.
Note: Replace 'your_simulink_model' with the name of the Simulink model that you want to analyze.
gistlibby LogSnag