Unsure of which block to use in simulink to keep running total.
Show older comments
I am building a model in simulink and need to keep a running total of a variable. i.e. if at each time step the value going into the block is 1 3 0 5 then I want the output to be 1 4 4 9. I am unsure if the "sum of elements" block can do this or if I need a "cumulative sum" block from the DSP system toolbox. Any help would be great and if I have missed any important information then I would be happy to clarify.
Roger
Accepted Answer
More Answers (0)
Categories
Find more on Signal Operations 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!