ml_assert_nonnegscalar
Checks if a value is a nonnegative, real scalar.
Contents
Syntax
ml_assert_nonnegscalar(value) ml_assert_nonnegscalar(value, name)
Description
This function checks if a given value is a real, nonnegative scalar value and throws an error if not.
Input
value - value, which shall be checked name - character array, used as parameter name in error handling
Output
---
See Also