Info

This question is closed. Reopen it to edit or answer.

Problem creating S-Function

1 view (last 30 days)
André Fettouhi
André Fettouhi on 19 Jan 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
I'm trying to buyild a S-Function from a FORTRAN 90 program that is originally compiled against the Intel FORTRAN compiler. I modified the code now so that it compiles now with MinGW and gfortran on Windows. Now I want to create a S-Function of this program to use in MATLAB/Simulink. There is already mex file made for the Intel FORTRAN compiler. I changes that file now to work with gnumex and the gfortran compiler. But I am get errors about missing MATLAB routines mexPrintf and mexErrMsgTxt, e.g.
undefined reference to `mexprintf'
I know this is caused by case sensitivity being ignored in fortran. How do I fix this?

Answers (0)

Community Treasure Hunt

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

Start Hunting!