.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.

Respuestas (1)

Kaustubha Govind
Kaustubha Govind el 5 de Mayo de 2011
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

Categorías

Más información sobre Fortran with MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 5 de Mayo de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by