Can I use MEMMAPFILE to access data stored in a delimited text file in MATLAB 7.6 (R2008a)?

2 次查看(过去 30 天)
I have a delimited ASCII file which contains an array of data. I would like to access that array using a memory mapped file with the MEMMAPFILE function. Is there a way to access the actual data, and not the individual characters that make up the text file?

采纳的回答

MathWorks Support Team
The ability to use MEMMAPFILE on delimited ASCII files to read in the actual data is not available in MATLAB 7.6 (R2008a).
MEMMAPFILE is designed to be a low level function to quickly access subsets of large binary data files. All modern operating systems provide this memory mapped file functionality, and MEMMAPFILE is designed to provide that functionality inside MATLAB.
The workaround is to read the file as characters (UINT8) and parse the resulting character array using normal string functions.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Large Files and Big Data 的更多信息

标签

产品


版本

R2008a

Community Treasure Hunt

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

Start Hunting!

Translated by