mustBeUnderlyingType
Description
mustBeUnderlyingType(
throws an error if value
,typenames
)value
does not have any of the underlying data types
specified by typenames
. This function does not return a value.
mustBeUnderlyingType
calls the following function to determine if
the input has the specified underlying type:
Class support: All MATLAB® classes
Examples
Input Arguments
Tips
mustBeUnderlyingType
is designed to be used for property and function argument validation.