iptcheckmap
Check validity of colormap
Description
iptcheckmap(
checks the validity of the colormap map
,func_name
,var_name
,arg_pos
)map
and
issues a formatted error message if the colormap is invalid.
If the colormap is valid, then
iptcheckmap
returns nothing.If the colormap is invalid, then
iptcheckmap
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 iptcheckmap
arguments.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced before R2006a
See Also
iptcheckhandle
| validateattributes
| narginchk
| validatestring
| iptnum2ordinal