textscan in MATLAB 6.1

2 次查看(过去 30 天)
Katherine
Katherine 2011-6-7
Hoping someone can help me here. I am currently using MATLAB version 7.4 and have written some concise code to import my data in using the textscan and headerLines function. My colleague is doing very similar work and to help him I showed him my code for importing this data. He is working on MATLAB version 6.1 and it seems that the textscan function cannot be used in this version. Does anyone know of an alternative or whether he should just start doing this manually?
Thanks very much Katherine

回答(1 个)

Titus Edelhofer
Titus Edelhofer 2011-6-7
Hi Katherine,
version 6.1? It's been a while ago, that I've been working with MATLAB 6. The function that's most similar to textscan would be textread, but I'm not sure, if it was present in 6.1. Otherwise the low level function fopen, fgetl, fscanf etc. need to be used.
Titus

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by