How to output two numbers as an array in Simulink?
Show older comments
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?
Accepted Answer
More Answers (1)
Birdman
on 21 Jan 2018
1 vote
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.
Categories
Find more on Simulink Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!