On Wed, Mar 24, 2010 at 11:49 AM,  <n...@itimes.com> wrote:
> 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.
>

Without actualy trying (octcdf installation fails for me and I now
don't have time to fix it), I guess the problem is that the underlying
object created by "ncchar" does not overload the numel (const
octave_value_list&) method correctly (or not at all).
This should be fixed in octcdf.

-- 
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&#174; 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

Reply via email to