Search for Simulink block name
24 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
João Araújo
le 9 Avr 2019
Réponse apportée : madhan ravi
le 9 Avr 2019
Hello,
I am trying to search for Simulink blocks using their name. I can do that in the model explorer but is there a way to do that through a matlab command?
For clarity, I have a list of names for constants/parameters etc that are built into the model, and I would like a command to return the path in the simulink model where they are located like such:
constantXY -> Model1/Subsystem/ConstantXY
The goal here is then to script it and generate the paths for all the parameters in a list.
Thank you in advance.
2 commentaires
madhan ravi
le 9 Avr 2019
Modifié(e) : madhan ravi
le 9 Avr 2019
https://in.mathworks.com/help/simulink/slref/find_system.html %why not this? [comment moved to answer]
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Simulink Functions 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!