Documentation Center

  • Trial Software
  • Product Updates

Compiler Errors in Fortran MEX-Files

When you compile a Fortran MEX-file using a free source form format, MATLAB® displays an error message of the following form:

Illegal character in statement label field

mex supports the fixed source form. The difference between free and fixed source forms is explained in the Fortran Language Reference Manual Source Forms topic. The URL for this topic is:

The URL for the Fortran Language Reference Manual is:
Was this topic helpful?