File Exchange

image thumbnail

SharedData

version 1.0 (4.57 KB) by

Shares arbitrary data among MATLAB instances using memory mapped files

1 Download

Updated

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.

Comments and Ratings (0)

MATLAB Release
MATLAB 8.4 (R2014b)
Acknowledgements

Inspired by: SharedTransform

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video