Changing the color of a block while the simulation runs
Updated 1 Sep 2016
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.
Guy Rouleau (2023). 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. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- MATLAB > App Building >
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.