You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Dashboard switches are able to turn a referenced signal on/off, but do not update their own state if the referenced signal changes without user input.
A solution using a triggered subsystem and the Matlab "set_param" function is demonstrated here with simple on/off function. The example system turns itself off after being on for 3 seconds, and resets the dashboard switch to "off".
Concept was discussed at https://www.mathworks.com/matlabcentral/answers/516815-programatically-change-state-of-slider-switch
Cite As
Adam Chapman (2026). Dashboard Switch Reset (https://au.mathworks.com/matlabcentral/fileexchange/74951-dashboard-switch-reset), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (24.2 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
