How to generate a matrix in simulink

16 次查看(过去 30 天)
Good morning.
I need to generate some matrixes in Simulink. I basically have to perform a huygens-steiner equation made out of matrices.
Now i konw i can generate matices using the constant block, but how do i generate a matrix where there are variable parameters?
The equation i want to write is "M_fuselage = M0 + cross(Lever_fuselage, F_fuselage)" where M0 and F_fuselage are matrices which include variable parameters.

回答(1 个)

Rohit Pappu
Rohit Pappu 2020-12-28
MATLAB function block can be used to generate a matrix from existing parameters. Additional documentaion can be found here

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by