Skip to main content

Module compatibility

Module compatibility 

Source
Expand description

Active language compatibility policy for runtime builtin dispatch.

Structs§

RunMatExtensionsGuard

Constants§

MATLAB_COMPATIBILITY_RELEASE
Runtime release identity for RunMat’s compatibility version pin. Keep this paired with MATLAB_COMPATIBILITY_VERSION; the reader-facing source of truth is docs/getting-started/compatability.md.
MATLAB_COMPATIBILITY_VERSION
Numeric product version corresponding to MATLAB_COMPATIBILITY_RELEASE.
SPARSE_EXTENSIONS
SPARSE_INTEGER_EXTENSION

Functions§

ensure_builtin_extension_enabled
ensure_sparse_integer_extension_enabled
Reject a RunMat-only sparse integer result at a MATLAB-compatible language boundary.
ensure_value_compatible
Enforce the sparse-integer extension policy recursively for a public result.
inherit_legacy_extension_policy
Seed a standalone runtime context from the legacy thread-local extension policy before entering that context’s scope.
push_runmat_extensions_enabled
Temporarily replace the extension policy and restore it on drop.
runmat_extensions_enabled
Returns whether the current execution may use deliberately classified RunMat-only builtin forms.
set_runmat_extensions_enabled
Set the extension policy for subsequent builtin dispatch on this thread.