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

1 view (last 30 days)
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?

Answers (1)

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

Categories

Find more on Data Types 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!