mustBeGreaterThan
Validate that value is greater than another value
Description
mustBeGreaterThan( throws an error if any elements in value,c)value are less than or equal to the scalar c. This function does not return a value.
mustBeGreaterThan calls these functions to determine if value is greater than c:
Class support: All numeric classes, logical, and MATLAB® classes that overload the functions called by mustBeGreaterThan.
This function ignores empty values in the first input argument. Therefore, no error is thrown when the property or function argument value is empty.
Examples
Input Arguments
Tips
mustBeGreaterThanis designed to be used for property and function argument validation.
Extended Capabilities
Version History
Introduced in R2017a