netcdf_ice, a MATLAB code which reads or writes NETCDF ICE files, which define a 3D grid.
The information on this web page is distributed under the MIT license.
netcdf_ice is available in a MATLAB version.
mesh, a data directory which contains examples of MESH files, which can be used to define the geometry of a finite element mesh in 2D or 3D, using triangles, quadrilaterals, tetrahedrons or hexahedrons.
netcdf a MATLAB code which reads and writes NETCDF files.
netcdf_mpas, a MATLAB code which reads and writes MPAS grid data stored as NETCDF files.
You can go up one level to the MATLAB source codes.