How to generate a matrix in simulink

14 views (last 30 days)
MARCO LORENZI
MARCO LORENZI on 22 Dec 2020
Answered: Rohit Pappu on 28 Dec 2020
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.

Answers (1)

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

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!