Info

This question is closed. Reopen it to edit or answer.

how to deal with samples in simulink models

1 view (last 30 days)
serwan Bamerni
serwan Bamerni on 4 Feb 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi everyone i am new in simulink, and i build a small system that i want to deal with each element of an array separately. all block deal with the whole array like multiplication or summing and all other blocks is there any way to help me to deal with each element separately, i.e. x(5) and x(8) individually from the other array elements.
thanks
  1 Comment
Anuj
Anuj on 4 Feb 2014
Your question is not clear, What do you exactly want to do?

Answers (2)

Azzi Abdelmalek
Azzi Abdelmalek on 4 Feb 2014
If x is an array with a fixed size, you can use a Demux block, you can also use a Matlab function block

Kaustubha Govind
Kaustubha Govind on 4 Apr 2014
You can use the Selector block to pick selected elements of the input matrix.

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!