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
MathWorks Support Team 2009년 6월 27일
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