help-octave
[Top][All Lists]
Advanced

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

Re: help on cellfun


From: c.
Subject: Re: help on cellfun
Date: Thu, 24 Feb 2011 21:01:21 +0100

On 24 Feb 2011, at 20:41, Eric Chassande-Mottin wrote:

> 
> error: octave_base_value::bool_value(): wrong type argument `string'
this error is telling you you passed a string where a boolean value was 
expected.

Your mistake is here:
> octave3.2:4> cellfun(@(x,y){x,y},a,b,"UniformOutput","false")

try:

cellfun(@(x,y){x,y}, a, b, "UniformOutput" , false)

instead.

HTH,
c.

reply via email to

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