iptcheckhandle
Check validity of handle
Description
iptcheckhandle(
checks if object obj,valid_types,func_name,var_name,arg_pos)obj is a valid graphics object and issues a
formatted error message if the handle is invalid.
If the object is a valid graphics object as specified by
valid_types, theniptcheckhandlereturns nothing.If the connectivity argument is invalid, then
iptcheckhandleissues 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 graphics object handle is valid.
The figure shows the format of the error message and indicates which parts you can
customize using iptcheckhandle arguments.

Examples
Input Arguments
Version History
Introduced before R2006a
See Also
validateattributes | iptcheckmap | narginchk | validatestring | iptnum2ordinal