How to output two numbers as an array in Simulink?
조회 수: 7 (최근 30일)
이전 댓글 표시
I have two numbers 2 and 3(which are given as input from two different blocks), for example, and I want to output them as an array [2 3].This array is given as an input in another block.Can I use Vector Concatinate block?
댓글 수: 0
채택된 답변
Priyesh Rabadiya
2018년 1월 23일
You can use Mux which will multiplex the signals in single line.
댓글 수: 0
추가 답변 (1개)
Birdman
2018년 1월 21일
Try the attached model. To output two numbers as array, I used MATLAB Function block. See how the function works and adapt it into your problem. Hope this helps.
댓글 수: 0
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!