How can I write this block

1 view (last 30 days)
Eric Twaddle
Eric Twaddle on 6 May 2022
Answered: Mark McBroom on 21 May 2022
Hello, I have to recreate an old simulink model from 1995 and I am perplexed on how to do Block A below. The orginal model used what they called the 'Matrix Gain' block. I understand the multiplying of the two matrices but how do i get it to output two seperate outputs?

Answers (1)

Mark McBroom
Mark McBroom on 21 May 2022
The result of the multiply will be a 2x1 vector. Use the selector block to split off each of the two elements of the vector into scalar outputs.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Tags

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!