Activity for Kristjan Jonasson

  • Kristjan Jonasson Kristjan Jonasson posted a comment on discussion Open Discussion

    I believe gnumex is completely outdated by now. I have been using mex out of the box with Matlab recently on my Mac with no problems, connecting with C and then calling Fortran from C. I would use gfortran with the switch -std=legacy. I would also use a C gateway function to connect between Matlab and Fortran. I don’t know much about what would happen on a Windows machine, but note that Matlab now claims to support MinGW 6.3 C/C++. Here is a simple example: #include "mex.h" // xy = prod_gw(x,y) calls...

1