Main Content
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 the scalar c
. This function does not return a value.
mustBeGreaterThanOrEqual
calls these functions to determine if value
is greater than or equal to c
:
Class support: All numeric classes, logical
, and MATLAB® classes that overload the functions called by mustBeGreaterThanOrEqual
.
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
mustBeGreaterThanOrEqual
is designed to be used for property and function argument validation.
Extended Capabilities
Version History
Introduced in R2017a