This m-file (ConfigToggle.m) allows a user to switch between all available models in a configurable subsystem library by double clicking on the block. A user must create a library with the desired models and a configuration subsytem and then add to the open function of the configurable subsystem the function "configtoggle". When double clicking on the block it will then cycle through the subsystems. Included is an example library and an example simulink model to demonstrate how it works. Both the models and the m-file contain helpful hints.
Dirk Jungquist (2020). Click Switch Between Configurable Subsystems (https://www.mathworks.com/matlabcentral/fileexchange/3378-click-switch-between-configurable-subsystems), MATLAB Central File Exchange. Retrieved .
Add BSD License