フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Incorporating existing m-file of RHS into simulink

1 回表示 (過去 30 日間)
PHAM
PHAM 2012 年 3 月 9 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I am quite new on using Simulink. My problem is quite simple but I am not sure having (and googling) the best issue for it... there is it: I want to create my own equation of motion based on the 6DOFs which is a 12 non linear-equation. In fact I've already have my RHS "dx = EOM(t,x,data)" which is a classical m-file. My question is how could I use this m-file into simulink (without recreating the model) and have simulink treats it as a non-linear. I know the best way is to use wind-axe 6DOFs built-in of the aeroblockset. But I would like to treat this like an example since if we have another non linear code (m-file, C , fortran)? Is the S-function block is the only way to do it? tks

回答 (0 件)

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by