Writing fortran mex file in matlab

The following Matlab project contains the source code and Matlab examples used for writing fortran mex file. I have found some difficulties to write fortran mexfile and this small example shows how I have considered the problem of exchanging data between matlab and fortran and "vice versa".

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
fzd.f 2780
fzdm.m 778
testfzd.m 350

SocialTags: