Effacer les filtres
Effacer les filtres

Fortran simulation error in Simulink

1 vue (au cours des 30 derniers jours)
afaq ahmad
afaq ahmad le 16 Déc 2021
Modifié(e) : afaq ahmad le 16 Déc 2021
I have a legacy Fortran code that I want to simulate in Simulink using S function. I compiled all the Fortran subroutines and linked it to c-mex function. However, when I attempt to simulate the s function, it gives the following error.
Moreover, upon running the simulation, some of Fortran subroutines have worked properly by reading the variables stored in text file and subsequently writting the initialized variables into the new file.
I can't figure out where exactly the problem lies: in Fortran code or C mex function.
What does the above error imply?
Thankyou.

Réponses (0)

Catégories

En savoir plus sur Fortran with MATLAB dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by