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

1 次查看(过去 30 天)
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?

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2014-1-28
b=importdata('file.txt','%%')

Community Treasure Hunt

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

Start Hunting!

Translated by