Creating Array in Simulink

8 views (last 30 days)
Pouriya Boostani
Pouriya Boostani on 30 Jul 2017
Edited: Pouriya Boostani on 1 Aug 2017
Hello,
I have an one dimensional array containing 200 specific values that they don't have constant difference.
I want to create this array in simulink so that the values go to an output one by one every 0.1 miliseconds.
Is there any suggestion about this problem?
I appreciate your help.
Thanks,
Pouriya

Accepted Answer

ES
ES on 31 Jul 2017
The 1-D array will be put in a constant block. ANd using an index selector and timer logic, you can select each element in the consecutive cycles. Please have a look at the attachment.
  3 Comments
ES
ES on 31 Jul 2017
I have uploaded now. Sorry for the inconvenience.
Pouriya Boostani
Pouriya Boostani on 1 Aug 2017
Edited: Pouriya Boostani on 1 Aug 2017
Thanks

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!