Mercurial > octave
comparison doc/interpreter/func.txi @ 18038:c404cec84eb4
New function validaattributes to perform input checking for functions.
* validateattributes.m: new function file.
* NEWS: add function to list of new functions for next release.
* interpreter/func.txi: add docstring of new function to the functions chapter.
* general/module.mk: add validateattributes.m to list of files to be installed.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Mon, 02 Dec 2013 18:06:40 +0000 |
parents | d63878346099 |
children | ff05d5b70411 |
comparison
equal
deleted
inserted
replaced
18035:132667955f66 | 18038:c404cec84eb4 |
---|---|
391 | 391 |
392 @noindent | 392 @noindent |
393 which stops the function execution and prints a message about the correct | 393 which stops the function execution and prints a message about the correct |
394 way to call the function whenever the number of inputs is wrong. | 394 way to call the function whenever the number of inputs is wrong. |
395 | 395 |
396 @DOCSTRING(validateattributes) | |
397 | |
396 For compatibility with @sc{matlab}, @code{nargchk}, @code{narginchk} and | 398 For compatibility with @sc{matlab}, @code{nargchk}, @code{narginchk} and |
397 @code{nargoutchk} are available which provide similar error checking. | 399 @code{nargoutchk} are available which provide similar error checking. |
398 | 400 |
399 @DOCSTRING(nargchk) | 401 @DOCSTRING(nargchk) |
400 | 402 |