Changing the color of a block while the simulation runs
版本 1.1.0.1 (6.6 KB) 作者:
Guy Rouleau
Did you ever wanted to see the color of a block changing while a simulation is running?
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 (2025). Changing the color of a block while the simulation runs (https://ww2.mathworks.cn/matlabcentral/fileexchange/23127-changing-the-color-of-a-block-while-the-simulation-runs), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2008b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!