On Fri, Sep 21, 2012 at 10:09 PM, Ben Abbott <bpabb...@mac.com> 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 > help-oct...@octave.org > 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/ ------------------------------------------------------------------------------ How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev