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 Center および File ExchangeLarge 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