.F file needs to be preprocessed to generate .for equivalent

hi,when i mexcomplie a f.90 file with matlab ,i often get a problem"Mex file entry point is missing. Please check the (case-sensitive) spelling of mexFunction (for C MEX-files), or the (case-insensitive) spelling of MEXFUNCTION (for FORTRAN MEX-files).".i don't know why, although i have add the MEXFUNCTION in the end of the '!DEC$ ATTRIBUTES DLLEXPORT::',please tell me how to deal with it.thanks anyway.

Answers (1)

I don't have much experience with FORTRAN and hence don't know anything about '!DEC$ ATTRIBUTES DLLEXPORT::'.
However, it looks like you might be missing a subroutine called mexFunction in your FORTRAN file. For a few examples, refer to: http://www.mathworks.com/help/techdoc/matlab_external/f21779.html

Categories

Asked:

on 5 May 2011

Community Treasure Hunt

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

Start Hunting!