This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> From: address@hidden (Dick Valent) > To: address@hidden > Subject: netcdf - matlab Hi Dick, > I received the following e-mail and I am not knowledgable about > conversion utilities. Can you help me out with this? > > Thanks! --Dick > > > From address@hidden Fri Jan 10 11:51:24 1997 > Date: Fri, 10 Jan 1997 11:57:39 -0700 (MST) > To: address@hidden > Subject: MATLAB & NETCDF > Status: RO > > > Dear Richard, > > I would like to use the NETCDF facilities under matlab. On workstation, > I normally use a program called "mexcdf.mexsg" and the matlab command > to read the attribute VARGET is > val = mexcdf ('VARGET', ncid, vid, [0],[len]); > But it seems that the command mexcdf does not exist on shavano ? > > Thanks in advance, > > Francois > > ***************************************************************** > * Francois VAN DEN BERGHE * > * NCAR/MMM/MPG Tel: (303) 497-8989 * > * P.O. Box 3000 Fax: (303) 497-8181 * > * Boulder, CO 80307-3000 e-mail: address@hidden * > ***************************************************************** All the info about the freely available MexCDF package is at http://crusty.er.usgs.gov/mexcdf.html You would have to compile it from the sources they provide. All it requires is an ANSI C compiler and netCDF 2.4.2 or later, according to the docs. --Russ