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?
1.8K 次下载
更新时间 2016/9/1

查看许可证

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
类别
Help CenterMATLAB Answers 中查找有关 App Building 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
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