How to implement "for loop" in Modelling.

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

1 Comment

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

Answers (0)

This question is closed.

Asked:

on 28 Oct 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!