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 ------------------------------------------------------------------------------ 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