ncdfread.m

Reads netcdf files in MATLAB 7.11, returns info in three structs: variables, attributes, dimensions
626 Downloads
Updated 16 May 2013

View License

input file name and path: fname

output:

vars: - variables
varatts: - variable attributes
dims: - dimensions

Written on a MacBook
Tested on NCEP/NCAR reanalysis data

Cite As

Ryan Eastman (2024). ncdfread.m (https://www.mathworks.com/matlabcentral/fileexchange/29338-ncdfread-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Updated May 2013, outputs variable dimensions in correct order. Now returns all attributes rather than skipping the first one.

1.0.0.0