This enhancement has been incorporated in MATLAB 7.7 (R2008b). For previous product releases, read below for any possible workarounds:
NetCDF format is a data file format that can accept a diverse set of data and data types. There is a third-party solution called MexCDF that will allow MATLAB to interface with NetCDF-files. For more information about MexCDF, see the following web page: