How to implement "for loop" in Modelling.

for(i=0,i<8,i++)
A[i]=20;
B[i]=40,
end
using Simulink blocks

1 个评论

What is i, a vector? For any value of i A and B should be 20 and 40?

回答(0 个)

此问题已关闭。

提问:

2015-10-28

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by