textscan in MATLAB 6.1

2 views (last 30 days)
Katherine
Katherine on 7 Jun 2011
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

Answers (1)

Titus Edelhofer
Titus Edelhofer on 7 Jun 2011
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

Categories

Find more on Large Files and Big Data in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!