How to enable content preview for all subsystems programmatically?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Xiaojie Qiu
el 4 de Sept. de 2018
Respondida: patrick shaw
el 20 de Oct. de 2020
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 comentarios
Respuesta aceptada
Fangjun Jiang
el 11 de Sept. de 2018
Please refer to this example.
f14;
SubSystems=find_system('f14','FindAll','On','BlockType','SubSystem');
set(SubSystems,'ContentPreviewEnabled','On')
Más respuestas (1)
patrick shaw
el 20 de Oct. de 2020
If you select any block or group of blocks, under format > block layout, you'll find Content Preview
0 comentarios
Ver también
Categorías
Más información sobre Programmatic Model Editing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!