matshare is a subsystem for MATLAB R2008b to R2017b which provides functions for creating and operating on shared memory. It has mechanisms for automatic garbage collection, thread-safe memory creation, and in-place overwriting.
To install, go to the linked website and either download a binary or source archive.
Note: The download here is for the sources. If you don't want to (or can't) build MEX, go to the linked website and pick up a binary archive.
Cite As
Gene Harvey (2026). matshare (https://github.com/gharveymn/matshare), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
+matshare
+matshare/+examples
source
source/+matshare/+tests
source/+matshare/+tests/+common
source/+matshare/+tests/+common/+params
source/+matshare/+tests/+common/+vargen
source/+matshare/+tests/+parallel
source/+matshare/+tests/+single
source/+matshare/+utils
source/tests
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.2.0 | Adds atomic variable operations, more efficient locking, and some bug fixes. |
|
|
| 1.1.0 | This release adds the ability to name your shared variables for easier management. It also fixes a few bugs in the last release. The releases are still located at the linked website. Enjoy! |
|
|
| 1.0.0 |
|
