Dashboard Switch Reset

Resets state of Simulink Dashboard button based on system state.

Vous suivez désormais cette soumission

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

Citation pour cette source

Adam Chapman (2026). Dashboard Switch Reset (https://fr.mathworks.com/matlabcentral/fileexchange/74951-dashboard-switch-reset), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0