Skip to main content

Module validation

Module validation 

Source
Expand description

Shared MATLAB argument-validation helpers and callable mustBe* builtins.

Structs§

RangeInclusivity

Enums§

ValidationAtom

Constants§

ISVARNAME_DESCRIPTOR
ISVARNAME_INTEGER_AUDIT
MUST_BE_A_INTEGER_CAPABILITIES
MUST_BE_COLUMN_INTEGER_CAPABILITIES
MUST_BE_FILE_INTEGER_AUDIT
MUST_BE_FINITE_EXTENSIONS
MUST_BE_FINITE_INTEGER_CAPABILITIES
MUST_BE_FLOAT_INTEGER_CAPABILITIES
MUST_BE_FOLDER_INTEGER_AUDIT
MUST_BE_GREATER_THAN_INTEGER_CAPABILITIES
MUST_BE_GREATER_THAN_OR_EQUAL_INTEGER_CAPABILITIES
MUST_BE_INTEGER_EXTENSIONS
MUST_BE_INTEGER_INTEGER_CAPABILITIES
MUST_BE_IN_RANGE_INTEGER_CAPABILITIES
MUST_BE_LESS_THAN_INTEGER_CAPABILITIES
MUST_BE_LESS_THAN_OR_EQUAL_INTEGER_CAPABILITIES
MUST_BE_MEMBER_INTEGER_CAPABILITIES
MUST_BE_NEGATIVE_INTEGER_CAPABILITIES
MUST_BE_NONEMPTY_INTEGER_CAPABILITIES
MUST_BE_NONMISSING_INTEGER_CAPABILITIES
MUST_BE_NONNEGATIVE_INTEGER_CAPABILITIES
MUST_BE_NONPOSITIVE_INTEGER_CAPABILITIES
MUST_BE_NONSPARSE_INTEGER_CAPABILITIES
MUST_BE_NONZERO_EXTENSIONS
MUST_BE_NONZERO_INTEGER_CAPABILITIES
MUST_BE_NONZERO_LENGTH_TEXT_INTEGER_AUDIT
MUST_BE_NON_NAN_EXTENSIONS
MUST_BE_NON_NAN_INTEGER_CAPABILITIES
MUST_BE_NUMERIC_INTEGER_CAPABILITIES
MUST_BE_NUMERIC_OR_LOGICAL_INTEGER_CAPABILITIES
MUST_BE_POSITIVE_INTEGER_CAPABILITIES
MUST_BE_REAL_INTEGER_CAPABILITIES
MUST_BE_SCALAR_OR_EMPTY_INTEGER_CAPABILITIES
MUST_BE_SPARSE_INTEGER_CAPABILITIES
MUST_BE_TEXT_INTEGER_AUDIT
MUST_BE_TEXT_SCALAR_INTEGER_AUDIT
MUST_BE_UNDERLYING_TYPE_INTEGER_CAPABILITIES
MUST_BE_VALID_VARIABLE_NAME_INTEGER_AUDIT
MUST_BE_VECTOR_INTEGER_CAPABILITIES
NAMEDARGS2CELL_DESCRIPTOR
NAMEDARGS2CELL_INTEGER_AUDIT
VALIDATE_FUNCTION_SIGNATURES_JSON_INTEGER_AUDIT
VALIDATOR_DESCRIPTOR

Functions§

atoms
dispatch_validator
dispatch_validator_async
ensure_resident_extension
ensure_runmat_integer_f64_boundary
Gate a native-integer RunMat extension before provider lookup or gathering, then prove that its authoritative values can cross a binary64 computation boundary without rounding.
is_typed_complex_integer
MATLAB stores complex integer arrays, but does not support arithmetic on them. Arithmetic builtins use this before selecting floating or provider execution paths so exact integer components are never coerced to f64.
isvarname_value
must_be_a
namedargs2cell_value
native_integer_value_is_exact_f64
native_integer_value_is_exact_f64_async
Check a native integer value against a binary64 boundary without rejecting a resident 64-bit value solely because its contents are not visible in handle metadata. Compatibility admission must run before calling this helper.
reject_typed_complex_integer
Reject a value that would otherwise enter a floating complex operation.
reject_typed_complex_integer_tensor
Reject operations that would consume the lossy f64 compatibility view of a typed complex integer tensor. MATLAB permits storage/inspection of these values, but not operations on them.
validate_function_signatures_json
validate_resident_metadata
validation_error
value_contains_explicit_gpu
Returns whether value, including aggregate payloads, contains a handle created through explicit gpuArray intent rather than automatic residency.
value_contains_native_integer_class
Returns whether value, including aggregate payloads, contains a native integer class. Use this at compatibility boundaries before a recursive gather can erase resident class metadata.
value_has_logical_class
value_has_native_integer_class
value_is_column
value_is_empty
value_is_finite
value_is_finite_async
value_is_float
value_is_greater_than
value_is_greater_than_or_equal
value_is_greater_than_or_equal_values_async
value_is_greater_than_values_async
value_is_in_range
value_is_in_range_documented_async
value_is_in_range_values_async
value_is_integer
value_is_integer_async
value_is_less_than
value_is_less_than_or_equal
value_is_less_than_or_equal_values_async
value_is_less_than_values_async
value_is_member
value_is_member_async
value_is_member_atoms
value_is_member_atoms_async
value_is_negative
value_is_negative_async
value_is_non_nan
value_is_non_nan_async
value_is_nonmissing
value_is_nonmissing_async
value_is_nonnegative
value_is_nonnegative_async
value_is_nonpositive
value_is_nonpositive_async
value_is_nonzero
value_is_nonzero_async
value_is_nonzero_length_text
value_is_numeric
value_is_numeric_or_logical
value_is_positive
value_is_positive_async
value_is_real
value_is_real_async
value_is_scalar_or_empty
value_is_text
value_is_text_scalar
value_is_vector
value_matches_class
value_satisfies_vector_validator
value_shape_2d
value_underlying_type_matches