Update and Outouts in S function
Show older comments
Hi,
I try to understand the methods Update and Outputs in S function. Please tell me if my understanding is correct. Thank you.
1. They are executed only once at every sample time.
2. They are executed at the very same time but the purposes of both are different. In Update “block.Dwork(1).Data” is actuated. In Outputs “block.OutputPort(1).Data” is actuated.
Best Regards, Senmeis
Accepted Answer
More Answers (0)
Categories
Find more on Simulink 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!