フィルターのクリア

How to output two numbers as an array in Simulink?

11 ビュー (過去 30 日間)
ana take
ana take 2018 年 1 月 21 日
回答済み: Priyesh Rabadiya 2018 年 1 月 23 日
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?

採用された回答

Priyesh Rabadiya
Priyesh Rabadiya 2018 年 1 月 23 日
You can use Mux which will multiplex the signals in single line.

その他の回答 (1 件)

Birdman
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.

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by