mustBeNumeric
Validate that value is numeric
Syntax
Description
mustBeNumeric(
throws an error if value
)value
contains nonnumeric. This function does not return a value.
mustBeNumeric
calls the following function to determine if the input is numeric:
This function ignores input arguments that are empty values. Therefore, no error is thrown when the property or function argument value is empty.
Examples
Input Arguments
Tips
mustBeNumeric
is designed to be used for property and function argument validation.
Extended Capabilities
Version History
Introduced in R2017a