best way in terms of performance to read a text file
Show older comments
I have to read values from text file that have this body:
1 2 3 4 5 6 7 8 9 10
after having read every of those value I would copy them in a vector. which is the best way in terms of speed and performance?
Accepted Answer
More Answers (1)
Walter Roberson
on 29 Sep 2012
0 votes
fopen(), fscanf(), fclose()
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!