Skip to content

matlas v0.5.0

Choose a tag to compare

@cotrin8672 cotrin8672 released this 24 Sep 12:13
· 4 commits to main since this release

Workspace pointer handoff

  • Add Matlab::workspace_scope, WorkspaceScope::get, and consuming WorkspaceScope::call so multiple mexGetVariablePtr values can be passed to MATLAB without a Rust-side array copy.
  • Accept ordinary ArrayRef inputs alongside workspace values in callback argument order. Reject a callback while an unused workspace value remains live.
  • Replace Matlab::workspace_borrow and WorkspaceRef with the scope API.

Validation

Rust tests, Clippy, docs, API coverage audit, and cargo package --locked passed. The MATLAB integration suite passed on R2024a, and the workspace built with Rust 1.77.0.