SharedData
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.
Zitieren als
Florian Enner (2025). SharedData (https://de.mathworks.com/matlabcentral/fileexchange/60691-shareddata), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert von: SharedTransform
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
