How to combine two matrix signals to single signal?

조회 수: 1 (최근 30일)
Jinang
Jinang 2016년 2월 17일
답변: Explorer 2016년 2월 17일
I have an interpreted matlab function-fcn (a,b) where the inputs (a,b) are matrices generated in the model.The function block in simulink takes only single input,but I want to pass both the matrices as an input to the function block.I am looking for a way to combine the matrices to a single signal,just like a mux block for vector signals.

답변 (1개)

Explorer
Explorer 2016년 2월 17일
a=[1 2 ; 3 4]; b=[5 6 ; 7 8]; ab=[a b]

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by