Cumulative variable or += in Simulink
7 views (last 30 days)
Show older comments
How can I do the x += 1 or x += y in Simulink?
Im not allowed to use a s-Function or M in my Project.
the cumulative sum didn`t help me.
2 Comments
James Tursa
on 9 May 2020
We need more details of what you are working with. x += 1 is simply x = x + 1, and x +=y is simply x = x + y. So what are you trying to do specifically?
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!