You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Guy Rouleau (2026). 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 .
General Information
- Version 1.1.0.1 (6.57 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
