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

Hami Güclücan
Hami Güclücan 2020년 5월 28일
I know the question is definitely easy to solve, but a simple explanation would be very nice. Thank you in advance
Ameer Hamza
Ameer Hamza 2020년 5월 28일
How is x calculated?
Hami Güclücan
Hami Güclücan 2020년 5월 28일
It’s a Number. Starting by 0 and everytime +1.
Ameer Hamza
Ameer Hamza 2020년 5월 28일
You can use ramp block in Simulink to create a variable which increases by a fixed amount after each time-step.

댓글을 달려면 로그인하십시오.

답변 (1개)

Nishant Gupta
Nishant Gupta 2020년 5월 30일

0 개 추천

You can use Stair Generator block to do that. Refer to the attached model.

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2020년 5월 28일

답변:

2020년 5월 30일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by