How to enable content preview for all subsystems programmatically?

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!

 채택된 답변

Fangjun Jiang
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
patrick shaw 2020년 10월 20일

0 개 추천

If you select any block or group of blocks, under format > block layout, you'll find Content Preview

카테고리

도움말 센터File Exchange에서 Subsystems에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2018년 9월 4일

답변:

2020년 10월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by