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 (2022). Click Switch Between Configurable Subsystems (https://www.mathworks.com/matlabcentral/fileexchange/3378-click-switch-between-configurable-subsystems), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!