![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/181291/image.jpeg)
How to output two numbers as an array in Simulink?
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
ana take
il 21 Gen 2018
Risposto: Priyesh Rabadiya
il 23 Gen 2018
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 Commenti
Risposta accettata
Priyesh Rabadiya
il 23 Gen 2018
You can use Mux which will multiplex the signals in single line.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/181291/image.jpeg)
0 Commenti
Più risposte (1)
Birdman
il 21 Gen 2018
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 Commenti
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!