How set set variables?
Show older comments
The question is very simple but somehow I cannot solve it. I have a system where I calculate 1 + x each time, whereby the x always takes on a new value or always increases by 1. But I don't know how I have to enter the x in simulink or how I can define this variable in Simulink
4 Comments
Hami Güclücan
on 28 May 2020
Ameer Hamza
on 28 May 2020
How is x calculated?
Hami Güclücan
on 28 May 2020
Ameer Hamza
on 28 May 2020
You can use ramp block in Simulink to create a variable which increases by a fixed amount after each time-step.
Answers (1)
Nishant Gupta
on 30 May 2020
0 votes

Categories
Find more on Simulink 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!