mustBeGreaterThanOrEqual
Validate that value is greater than or equal to another value
Description
mustBeGreaterThanOrEqual(
throws an error if any elements in value,c)value are less than
c. This function does not return a value.
mustBeGreaterThanOrEqual
calls the ge function to determine
if value is greater than or equal to c. (since R2026a)
Class support: All numeric classes, logical, and MATLAB® classes that implement ge.
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
mustBeGreaterThanOrEqualis designed to be used for property and function argument validation.