23.06.2015 Views

MATLAB Programming

MATLAB Programming

MATLAB Programming

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6 Data Import and Export<br />

Sharing Memory Between Applications. Memory-mapped files also<br />

provide a mechanism for sharing data between applications, as shown in the<br />

figure below. This is achieved by having each application map sections of<br />

thesamefile. Thisfeaturecanbeusedto transfer large data sets between<br />

<strong>MATLAB</strong> and other applications.<br />

Also, within a single application, you can map the same segment of a file<br />

more than once.<br />

Limitations of Memory-Mapping in <strong>MATLAB</strong><br />

<strong>MATLAB</strong> restricts the size of a memory map to 2 gigabytes, and on some<br />

platforms, requires that you set up your memory-mapping so that all data<br />

access is aligned properly. See the following section, “Maximum Size of a<br />

Memory Map”, for more information.<br />

6-36

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!