Read or write NetCDF files using MATLAB® high-level functions or the NetCDF library package of low-level functions. High-level functions simplify the process of reading data from a NetCDF file or writing a variable from the MATLAB workspace into a NetCDF file.
For more control over the reading and writing process, use the NetCDF Library Package containing low-level functions. The low-level functions enable more control over the reading and writing process by providing access to the routines in the NetCDF C library.
For copyright information, see the netcdfcopyright.txt
and
mexnccopyright.txt
files.
Import NetCDF Files and OPeNDAP Data
Read data from a NetCDF file using the high-level functions, and
then read the file by using the netcdf
package low-level
functions.
Create, merge, and write NetCDF files using high-level functions
and the netcdf
package low-level functions.
Map NetCDF API Syntax to MATLAB Syntax
MATLAB
netcdf
package of low-level functions and its correspondence with
the NetCDF C library.
Resolve Errors Reading OPeNDAP Data
When you have trouble reading OPeNDAP data, consider these factors.