Can we compile a .m code to .dll

5 visualizzazioni (ultimi 30 giorni)
Irfan Shaikh
Irfan Shaikh il 19 Nov 2018
Risposto: Siddharth Bhutiya il 21 Nov 2018
I need to code my problem in Matlab that needs to access the functions and variables from a third party program package which is orginally written in FORTRAN 90. I need to use call functions through this code for my MATLAB code. Using FORTRAN compiler it generates .DLL file.
If I start my coding in MATLAB will I be able to convert .m script file to .DLL file.
Kindly please reply if someone knows it...
Thanks.

Risposte (1)

Siddharth Bhutiya
Siddharth Bhutiya il 21 Nov 2018
You can use the MATLAB Engine API to run MATLAB code from FORTRAN. Please take a look the link below for more information

Categorie

Scopri di più su Fortran with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by