Why does an output variable from a MATLAB Function block not update a model variable with the same name?
Show older comments
I am using MATLAB R2024b and defined an output variable in a MATLAB Function block that is outputted as a signal. I also defined a model variable with the same name. When the value of the output signal changes, the value of the model variable does not change.
Why is this happening?
Accepted Answer
More Answers (0)
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!