matlas v0.5.0
Workspace pointer handoff
- Add
Matlab::workspace_scope,WorkspaceScope::get, and consumingWorkspaceScope::callso multiplemexGetVariablePtrvalues can be passed to MATLAB without a Rust-side array copy. - Accept ordinary
ArrayRefinputs alongside workspace values in callback argument order. Reject a callback while an unused workspace value remains live. - Replace
Matlab::workspace_borrowandWorkspaceRefwith 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.