Checknumberargsminargs software
Checknumberargsminargs
Added: April 19, 2013 | Visits: 283
nargchk is used almost exclusively in one way:error(nargchk(minargs, maxargs, nargin, 'struct'));The third and fourth arguments are always the same, and you always wrap it in an error call.This stupidly simple function saves you typing, and prettifies your code by wrapping the above line into...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Check the number of arguments to a function Download |