Calling Fortran code in Simulink

1 view (last 30 days)
afaq ahmad
afaq ahmad on 16 Sep 2021
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.

Answers (0)

Categories

Find more on Fortran with MATLAB in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!