How to combine two matrix signals to single signal?

2 vues (au cours des 30 derniers jours)
Jinang
Jinang le 17 Fév 2016
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.

Réponses (1)

Explorer
Explorer le 17 Fév 2016
a=[1 2 ; 3 4]; b=[5 6 ; 7 8]; ab=[a b]

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by