Replace Simulink Scope/Display Blocks with Terminators

版本 1.0.0.0 (10.7 KB) 作者: Stuart Bowman
Cleans Simulink models of all Scope and Display blocks by replacing them with Terminator blocks.
922.0 次下载
更新时间 2009/7/7

查看许可证

Simulink developers may use scope and display blocks during model development. However, these blocks sometimes get buried deep inside subsystems and consequently never removed during model clean-up. These lost blocks can effect the run-time of the model according to The Mathworks: http://www.mathworks.com/support/solutions/data/1-18AAG.html?solution=1-18AAG

This m-class file loads a simulink model, searches it for scope and display blocks (including inside subsystems and masked blocks), and replaces each instance with a Terminator block. The reverse process is also possible should the user desire to recover the original scope & display blocks at some time in the future. This is done without disturbing the integrity of the simulink model itself or any other blocks within the model.

Includes a simulink model and an example of how to run the code.

Files Included:
simulinkModelCleaner.m
smcTest.m
fallingBallExample.mdl

引用格式

Stuart Bowman (2024). Replace Simulink Scope/Display Blocks with Terminators (https://www.mathworks.com/matlabcentral/fileexchange/24656-replace-simulink-scope-display-blocks-with-terminators), MATLAB Central File Exchange. 检索时间: .

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

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0