Can we compile a .m code to .dll

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.

답변 (1개)

Siddharth Bhutiya
Siddharth Bhutiya 2018년 11월 21일

1 개 추천

You can use the MATLAB Engine API to run MATLAB code from FORTRAN. Please take a look the link below for more information

카테고리

도움말 센터File Exchange에서 Fortran with MATLAB에 대해 자세히 알아보기

질문:

2018년 11월 19일

답변:

2018년 11월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by