How can I write this block

2 次查看(过去 30 天)
Eric Twaddle
Eric Twaddle 2022-5-6
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?

回答(1 个)

Mark McBroom
Mark McBroom 2022-5-21
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.

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

标签

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by