필터 지우기
필터 지우기

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 CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by