mdl_color

版本 1.1.0.1 (3.4 KB) 作者: Will Campbell
Remove or return colors to Simulink object backgrounds
632.0 次下载
更新时间 2016/9/1

查看许可证

Many Simulink developers have a policy against setting block background colors to anything other than white. The standard argument against coloring of blocks and subsystems is that colors are exclusively reserved to convey sample times in the model. To color a block would be to the detriment of readability when reviewing sample times.
While there is merit in this argument, the developer pays a heavy cost in readability when sample time colors are off. It is far easier to grasp what a model is doing when blocks are color-coded by function.
MDL_COLOR was created to provide the user the best of both worlds. When run, this utility will set the background color of all Simulink objects in a model to white. This facilitates model inspection when sample times colors are enabled.

Once sample time colors are no longer needed, simply call MDL_COLOR again, and all blocks will revert to their previous color.

引用格式

Will Campbell (2024). mdl_color (https://www.mathworks.com/matlabcentral/fileexchange/26456-mdl_color), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Modeling 的更多信息
标签 添加标签
致谢

启发作品: Transformerless Inverter

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

Added a missing file, set_params.m.

1.0.0.0