[Top][All Lists]

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

[Octave-bug-tracker] [bug #37650] the `inputParser' function is not yet

From: Felipe G. Nievinski
Subject: [Octave-bug-tracker] [bug #37650] the `inputParser' function is not yet implemented
Date: Mon, 13 Jan 2014 18:23:03 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.72 Safari/537.36

Follow-up Comment #18, bug #37650 (project octave):

In the example given in the function reference:


"@val_mat" and "@val_verb" need to be replaced with "val_mat" and "val_verb";

val_mat = @(x)isvector(x) && all( x <= 1) && all(x >= 0);
p = p.addOptional ("mat", [0 0], @val_mat);
val_verb = @(x) ischar(x) && any(strcmp(x, {"low", "medium", "high"});
p = p.addParamValue ("tolerance", "low", @val_verb);


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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