textscan in MATLAB 6.1

2 vues (au cours des 30 derniers jours)
Katherine
Katherine le 7 Juin 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

Réponses (1)

Titus Edelhofer
Titus Edelhofer le 7 Juin 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

Catégories

En savoir plus sur Large Files and Big Data dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by