Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Incorporating existing m-file of RHS into simulink

1 visualizzazione (ultimi 30 giorni)
PHAM
PHAM il 9 Mar 2012
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (0)

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by