How to enable content preview for all subsystems programmatically?

조회 수: 4 (최근 30일)
Xiaojie Qiu
Xiaojie Qiu 2018년 9월 4일
답변: patrick shaw 2020년 10월 20일
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일
If you select any block or group of blocks, under format > block layout, you'll find Content Preview

카테고리

Help CenterFile Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by