How to enable content preview for all subsystems programmatically?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Xiaojie Qiu
le 4 Sep 2018
Réponse apportée : patrick shaw
le 20 Oct 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 commentaires
Réponse acceptée
Fangjun Jiang
le 11 Sep 2018
Please refer to this example.
f14;
SubSystems=find_system('f14','FindAll','On','BlockType','SubSystem');
set(SubSystems,'ContentPreviewEnabled','On')
Plus de réponses (1)
patrick shaw
le 20 Oct 2020
If you select any block or group of blocks, under format > block layout, you'll find Content Preview
0 commentaires
Voir également
Catégories
En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!