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!