read_namelist

Reads a FORTRAN input namelist into a MATLAB structure.
783 Downloads
Updated 4 Jan 2016

View License

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

Cite As

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

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Fortran with MATLAB in Help Center and MATLAB Answers
Acknowledgements

Inspired: FORTRAN Namelist Suite

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
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