Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
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
- Version 1.0.0 (24,2 ko)
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 |
