The ability to adjust parameters while a Simulink model is executing is one of Simulink's unique features. Whether your tuning a PID loop or tuning in a radio signal, this feature is quite useful and it works in both simulation mode as well as while the model is executing on hardware using External Mode.
The "Slider Gain" block, found in the Simulink Math Operations Library, is a tool for adjusting path gain using a simple and intuitive GUI. It has been part of the Simulink Library for well over 2 decades. The implementation of this block has changed over the past few years to the point of having usability issues.
This ML Central submission restores the look, feel and behavior of the "Classic" Gain Slider as well as adding some useful features to it.
If you are a fan of the Simulink Slider Gain block, give this a try !
Dick Benson (2022). Alternative Simulink Slider Gain Block (https://www.mathworks.com/matlabcentral/fileexchange/89922-alternative-simulink-slider-gain-block), 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!