Hello Sir. x = ncchar('lon', 'lat'); creates a netcdf variable of type ncchar, with netcdf dimensions 'lon' and 'lat'.
x.units = 'm'; defines a string attribute (units) of the variable, with value ('m'). Executing these two statements also give the same error: error: invalid assignment to cs-list outside multiple assignment. Please note, the functions are from octcdf package. 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