wieving an constant array in simulink

Status
Not open for further replies.

ashwini1

Member level 1
Joined
Jul 17, 2009
Messages
32
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
Bangalore
Activity points
1,483
Simple Simulink question

Hi,

In simulink i have defined a array as follows using constant block:
a=[1 0 1 1 1 0 0 0 1];

Now i want to read the elements of array 'a' one by one, i mean at every sample time one element in ascending or descending order.

How do i do this ??

In otherwords if scope block is connected to the arrary, i suppose to see a binary signal of zeros and ones there.

Thanks !
Ashwini
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…