Calling Fortran code in Simulink

I have an existing Fortran code which I want to call from Simulink.For starters, I am trying to implement
the sfcndemo_atmos - Simulink built in example.
However, I don't know how to compile and link the mex and source file and integerate them into
S function block in the simulink.
I am using Matlab 2018a with following compilers:
'Microsoft Visual C++ 2017 (C)
Intel Parallel Studio XE 2015 for Fortran with Microsoft Visual Studio 2015.
Thanks.

Risposte (0)

Categorie

Prodotti

Release

R2018a

Richiesto:

il 16 Set 2021

Community Treasure Hunt

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

Start Hunting!

Translated by