Sine Wave not recognize with find_system
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Khoi Le
le 16 Nov 2020
Réponse apportée : Fangjun Jiang
le 30 Nov 2020
I am finding the path for Sine Wave block so that can replace a block in f14 model. However, when I use
find_system(simulinkModel, 'BlockType', 'Sine Wave')
The output said it empty and cannot find it
0×1 empty cell array
But if I replace Sine Wave with Step block it said
1×1 cell array
{'simulink/Sources/Step'}
Am I mistake something or SIne Wave cannot be found when using find_system
0 commentaires
Réponse acceptée
Plus de réponses (1)
Sulaymon Eshkabilov
le 16 Nov 2020
You are right. Its name contains two words and because of that, supposedly it fails to locate it.
4 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!