help-octave
[Top][All Lists]
Advanced

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

Re: Problem with inputParser and anonymous functions for validators


From: Juan Pablo Carbajal
Subject: Re: Problem with inputParser and anonymous functions for validators
Date: Sat, 22 Sep 2012 10:44:14 +0200

On Fri, Sep 21, 2012 at 10:09 PM, Ben Abbott <address@hidden> wrote:
> On Sep 21, 2012, at 2:59 PM, Jose wrote:
>
>> Hello.
>>
>> On 09/21/2012 09:33 PM, Ben Abbott wrote:
>>
>>> What you need to do is either
>>>
>>> (1) addRequired (p, "pack", val)
>>>
>>> or
>>>
>>> (2) addRequired (p, "pack", @(x)ischar(x))
>>>
>>> or
>>>
>>> (3) addRequired (p, "pack", @ischar)
>>
>> Thanks Ben. It works.
>>
>> It seems then that the documentation is not correct (See the example in 
>> "help inputParser" and
>> http://octave.sourceforge.net/general/function/@inputParser/inputParser.html 
>> ).
>>
>> BR
>> Jose
>>
>
> I think you are correct. There appears to be a problem with the 
> documentation.  I've cc'd the author.
>
>
> Ben
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave

Problem fixed.

Thank you for reporting it! :D

@Jose: You know you can edit the help of these functions yourself? Let
me know if you do not know and need some help to ge the hands on it.
If we do this, then you can send us the respective correction. In that
way you will be helping GNU Octave to get better!
At the same time you will getting the hands of how to write
documentation and functions for Octave, with some luck we will have
you(!) among the usual contributors in no time.

Cheers


-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/


reply via email to

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