can't use dlmread with % delimiter, need another function, help

2 vues (au cours des 30 derniers jours)
Alon
Alon le 28 Jan 2014
I try to read numbers from text file. for example it looks like this: 41%6%7%.... When I use the dlmread function with % delimiter I get a fail:
How can I solve it?

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 28 Jan 2014
b=importdata('file.txt','%%')

Catégories

En savoir plus sur Data Types 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