iptcheckmap() - Image Processing
iptcheckmap(map, func_name, var_name,
arg_pos) checks the validity of the MATLABĀ® colormap
and issues a formatted error message if it is invalid. func_name is a string that specifies the
name used in the formatted error message to identify the function
checking the colormap.var_name is a string that specifies the name
used in the formatted error message to identify the argument being
checked.arg_pos is a positive integer that indicates
the position of the argument being checked in the function argument
list. iptcheckmap includes this information in
the formatted error message.Code Generation support:
Yes.MATLAB Function Block support:
Yes.
Syntax
iptcheckmap(map, func_name, var_name,
arg_pos)
Example
bad_map = ones(10);
iptcheckmap(bad_map,'func_name','var_name',2)
Output / Return Value
Limitations
Alternatives / See Also
Reference