how do I read the value of the inputs of a block during runtime?
Afficher commentaires plus anciens
I have a simulink model and I want to read the value of one of the inputs of a subsystem of the main model. I paused during runtime and wrote the following command but it gave error. How do I read the input value?
rto = get_param(gcb, 'Faulty Actuators') gives an error saying : SubSystem block does not have a parameter named 'Faulty Actuators', but the name of the input is Faulty Actuator.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Modeling dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!