Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Incorporating existing m-file of RHS into simulink

1 vue (au cours des 30 derniers jours)
PHAM
PHAM le 9 Mar 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (0)

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by