How to use simulink with an external fortran program using its own solver ?

2 views (last 30 days)
Jan Romain
Jan Romain on 14 Dec 2020
Answered: Rohit Pappu on 31 Dec 2020
Good morning all,
I am curently using a fortran program named ASWING (Mark Drela,MIT) to simulate the behavior of high aspect ratio flexible aircraft.
I would like to implement some control laws on simulink and take the benefit of every matlab toolbox. The problem is, as ASWING has its own solver, I don't know if there is a mathematical issue to consider the control law as an independant forced system solved by matlab/simulink ode and send the resulting control command to the external software.
Thanks for the answer

Answers (1)

Rohit Pappu
Rohit Pappu on 31 Dec 2020
For accessing external FORTRAN code from Simulink, you can refer to this link

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by