read_namelist

Reads a FORTRAN input namelist into a MATLAB structure.

You are now following this Submission

This function allows the user to specify a file and FORTRAN namelist to be read into a MATLAB structure.

Cite As

Samuel Lazerson (2026). read_namelist (https://www.mathworks.com/matlabcentral/fileexchange/30179-read_namelist), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: FORTRAN Namelist Suite

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.5.0.0

Added ability to pass either filename or file id to read_namelist.

1.2.0.0

Modified to better support some Fortran77 $END statements.

1.1.0.0

Added support for arrays with dimensions larger than 2. Please note that FORTRAN colon operations are still unsupported.

1.0.0.0