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

2 次查看(过去 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','%%')

类别

Help CenterFile Exchange 中查找有关 Data Types 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by