comment_display_scope.zip
% COMMENT_DISPLAY_SCOPE 注释指定模型中的所有 Display 与 Scope 模块
% 用法:
% comment_display_scope('myModel') % 注释
% comment_display_scope('myModel', 'uncomment') % 取消注释
% 说明:
% - 若模型未打开,函数会尝试加载。
% - 会递归搜索所有层级(包括子系统、模型引用)。
% - 仅对 BlockType 为 'Display' 与 'Scope' 的模块操作。
Cite As
MBD柚子 (2025). 柚子的各种功能脚本 (https://ch.mathworks.com/matlabcentral/fileexchange/182910), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
