help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cell array issue


From: Schirmacher, Rolf
Subject: cell array issue
Date: Thu, 4 Nov 2010 17:33:21 +0100

Hello,

running 3.2.4 on windows, I have the following issue with cell arrays:

octave.exe> string = "a b c";
octave.exe> demo2{1} = string
demo2 =

{
  [1,1] = a b c
}

octave.exe> demo2{2} = string
demo2 =

{
  [1,1] = a b c
  [1,2] = a b c
}

octave.exe> demo3{1:2} = string
error: invalid assignment to cs-list outside multiple assignment.
error: assignment to cell array failed
error: assignment failed, or no method for `<unknown type> = string'


I would like demo3 to be the same as demo2 in this case (i.e. allow for
indexing for cell arrays).

This worked as described in 3.0.3 on windows...

Any help is highly appreciated.

Thanks

Rolf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]