question about the textscan on a text file
Show older comments
I tried to use fopen the attached file, textscan, then reshape the matrix i used
fileid = ('filename.txt');
c = textscan ( fileid, '%n %n %n %n','headerlines',5,'delimiter',',')
the number of the elements that matlab read is 614, but my actual matrix from the text is 616. Is there any problem on my code
Accepted Answer
More Answers (0)
Categories
Find more on Text Files 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!