Changing the color of a block while the simulation runs

Did you ever wanted to see the color of a block changing while a simulation is running?
1,8K téléchargements
Mise à jour 1 sept. 2016

Afficher la licence

This submission contains a level 2 M-file s-function that changes the background color of a block while the simulation runs.
In the block dialog box, specify which block you want to be affected. Look at the M-code to change the logic of color switching to fit your application.

Citation pour cette source

Guy Rouleau (2024). Changing the color of a block while the simulation runs (https://www.mathworks.com/matlabcentral/fileexchange/23127-changing-the-color-of-a-block-while-the-simulation-runs), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2008b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur App Building dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.1.0.1

Updated license

1.1.0.0

Modified to automatically change the color of the block connected to the output port. Added a parameter to set the value at which the color switches

1.0.0.0