[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cell{1:5}=1 not working for me!!!
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: cell{1:5}=1 not working for me!!! |
Date: |
Wed, 30 May 2012 11:04:21 -0400 |
On 30 May 2012 10:45, oxy <address@hidden> wrote:
> octave:1> cell{1:5}=1
> error: invalid assignment to cs-list outside multiple assignment.
> error: assignment to cell array failed
> error: assignment failed, or no method for `<unknown type> = scalar'
>
> It used to work in past versions. This code is from an old functioning
> script from me. What happened?
If it used to work, it was a bug. Use () instead of {} to index cells
with assignment.
- Jordi G. H.
- cell{1:5}=1 not working for me!!!, oxy, 2012/05/30
- Re: cell{1:5}=1 not working for me!!!,
Jordi Gutiérrez Hermoso <=
- Re: cell{1:5}=1 not working for me!!!, Francesco Potortì, 2012/05/30
- Re: cell{1:5}=1 not working for me!!!, Juan Pablo Carbajal, 2012/05/30
- Re: cell{1:5}=1 not working for me!!!, Francesco Potortì, 2012/05/31
- Re: cell{1:5}=1 not working for me!!!, Jordi Gutiérrez Hermoso, 2012/05/31
- Re: cell{1:5}=1 not working for me!!!, oxy, 2012/05/31
- Re: cell{1:5}=1 not working for me!!!, Jordi Gutiérrez Hermoso, 2012/05/31
- Re: cell{1:5}=1 not working for me!!!, oxy, 2012/05/31
- Re: cell{1:5}=1 not working for me!!!, Jordi Gutiérrez Hermoso, 2012/05/31
Re: cell{1:5}=1 not working for me!!!, c., 2012/05/30