On Wed, Mar 24, 2010 at 6:17 AM, <n...@itimes.com> wrote: > Hi everyone. > > Here is the complete code: > > cdf = netcdf('glo_att.nc','c'); > cdf('lon') = 6; > cdf('lat') = 4; > cdf{'var'} = ncchar('lon','lat'); > cdf{'var'}.units = 'm'; > ncclose(cdf); > > Thanks. > > Nands
What does x = ncchar('lon', 'lat'); x.units = 'm'; do? Does it work? -- RNDr. Jaroslav Hajek, PhD computing expert & GNU Octave developer Aeronautical Research and Test Institute (VZLU) Prague, Czech Republic url: www.highegg.matfyz.cz ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev