Skip to content

matlas v0.6.0

Choose a tag to compare

@cotrin8672 cotrin8672 released this 25 Sep 02:45
· 4 commits to main since this release

matlas v0.6.0

  • Convert MATLAB character rows and scalar string values to Rust text with ArrayRef::to_text, preserving Unicode and embedded NUL characters and rejecting missing strings.
  • Read and create logical scalars with ArrayRef::logical_scalar and Matlab::logical_scalar.
  • Receive fixed callback outputs through Matlab::call_array::<N> and WorkspaceScope::call_array::<N>.
  • Set validated MATLAB exception identifiers with Error::with_id.
  • Declare fixed MEX argument counts with Inputs<'mex, N> and Outputs<'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.