再说模块选型。Simulink 里实现矩阵乘法,最直接的是 Matrix Gain 模块,它支持直接填一个矩阵。但 Matrix Gain 在有些版本里藏得比较深,另一个更通用的做法是用 Gain 模块配合 Mux 和 Demux ,或者干脆用 Product 模块。我实测下来,最省事、最不容易出错的是 Matrix Gain ,路径在 Simulink > Math Operations > ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results