matlas v0.6.0
matlas v0.6.0
- Convert MATLAB character rows and scalar
stringvalues to Rust text withArrayRef::to_text, preserving Unicode and embedded NUL characters and rejecting missing strings. - Read and create logical scalars with
ArrayRef::logical_scalarandMatlab::logical_scalar. - Receive fixed callback outputs through
Matlab::call_array::<N>andWorkspaceScope::call_array::<N>. - Set validated MATLAB exception identifiers with
Error::with_id. - Declare fixed MEX argument counts with
Inputs<'mex, N>andOutputs<'mex, N>;inputs.into_array()supports array destructuring. Existing variable-count handlers remain supported.
Compatibility: Error now has a private identifier field, so construct errors with Error::new instead of a struct literal.
Validated with the full MATLAB R2024a integration suite, Rust 1.77.0 build, Clippy, docs, API coverage audit, and cargo package --locked.