How can I display the progress of textscan
3 views (last 30 days)
Show older comments
I am using textscan to read and parse data files that vary widely in size. For small files it is very fast, but it is not uncommon to read files in excess of 700 megabytes.
Since these files can take over a minute to load, it would be helpful to show the user that progress is being made.
Is there a way to get the progress of textscan - ideally I'd send it to waitbar() or something similar, but any indication I can give my user will be a major improvement.
I have zero ideas at this point without implementing my own textscan, and that's not something I'm excited to undertake.
8 Comments
dpb
on 25 Oct 2014
Possibly move the sscanf step to scanf on the file would be one suggestion.
I'm thinking probably to get any further real input would need to see a section of the file under discussion and what it is you want from it.
Doesn't have to be large, just enough to illustrate the format and whatever "issues" it has altho sounds like it is at least regular.
Answers (0)
See Also
Categories
Find more on Data Import and Export in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!