SharedData

Shares arbitrary data among MATLAB instances using memory mapped files
79 Downloads
Updated 12 Dec 2016

View License

SharedData provides a low overhead way to share arbitrary data between MATLAB instances using memory mapped files. Memory mapped files provide a simple way to share data without sockets or data marshalling.

% MATLAB instance - writer
data = [1 2 3];
output = SharedData('vec3', class(data), size(data));
output.data = data;

% MATLAB instance - reader
input = SharedData('vec3', 'double', [1 3]);
data = input.data;

Please consult the help documentation for more info.

Cite As

Florian Enner (2024). SharedData (https://www.mathworks.com/matlabcentral/fileexchange/60691-shareddata), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dictionaries in Help Center and MATLAB Answers
Acknowledgements

Inspired by: SharedTransform

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0