problem in read txt file
Show older comments
hi, if I have txt file test.txt : 'poiu' 'grtf' 'yutr' 'trqw' 'tyui' 'poyt'
f=fopen(''test.txt'); d=fscanf(f,'%s'); I want d(1) be 'poiu' d(2) be 'grtf'.....etc
I do not want it d(1) be ' ,and d(2)be p
is there any solution for this problem?
thanks in advance, huda
Accepted Answer
More Answers (0)
Categories
Find more on Standard File Formats 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!