Simulink using an array element for each timestep

조회 수: 40 (최근 30일)
Aly Elhefny
Aly Elhefny 2020년 4월 23일
답변: Ameer Hamza 2020년 4월 23일
Hello everyone,
Hope you are all well and safe.
I wonder weather the following can be done in simulink:
I want an input bolck value to change everytimestep. This should be according to an array value.
So for example the array x = [4 5 6 7]
I want at timestep 1 in simulink a source block has a value of 4
then at timestep2 the in simulink a source block has a value of 5 , timestep3 = 6 and so on.
Is that doable in simulink ?
Please advice
Thanks

답변 (1개)

Ameer Hamza
Ameer Hamza 2020년 4월 23일

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by