iptcheckinput
Check validity of array
iptcheckinput
will be removed in a future release. Use validateattributes
instead.
Description
iptcheckinput(
checks the validity of the input array A
,valid_classes
,valid_attributes
,
func_name
,var_name
,arg_pos
)A
and issues a formatted error
message if the array is invalid.
If the array has valid class and attributes as specified by
valid_classes
andvalid_attributes
, theniptcheckinput
returns nothing.If the class or attributes are invalid, then
iptcheckinput
issues a formatted error message that includes information about the function name (func_name
), the variable name (var_name
), and the argument position (arg_pos
). These values are used only to create the error message, not to check whether the array is valid.
The figure shows the format of the error message and indicates which parts you can
customize using iptcheckinput
arguments.
Examples
Input Arguments
Version History
Introduced before R2006a
See Also
validateattributes
| iptcheckhandle
| iptcheckmap
| narginchk
| validatestring
| iptnum2ordinal