how do I read the value of the inputs of a block during runtime?
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!