FUNCTION REFERENCE
mustBeLessThanOrEqual
Validate that value is less than or equal to another value.
Validate that value is less than or equal to another value.
Syntax
mustBeLessThanOrEqual(A, c)Throws an error if any element of A is greater than c.
Example
mustBeLessThanOrEqual([1 2], 2)Differences from MATLAB: Only scalar real c is supported.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.