How to enable content preview for all subsystems programmatically?
5 ビュー (過去 30 日間)
古いコメントを表示
Hi everyone,
my simulink model is upgraded from a previous version, in which there was no Content Preview option at that time. So I want to know how I can programmatically configure the model in order that the content of all subsystems can be previewed?
Thank you!
0 件のコメント
採用された回答
Fangjun Jiang
2018 年 9 月 11 日
Please refer to this example.
f14;
SubSystems=find_system('f14','FindAll','On','BlockType','SubSystem');
set(SubSystems,'ContentPreviewEnabled','On')
その他の回答 (1 件)
patrick shaw
2020 年 10 月 20 日
If you select any block or group of blocks, under format > block layout, you'll find Content Preview
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Programmatic Model Editing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!