What is the fastest/best way to create several thousand (text) files?
Show older comments
What is the fastest/best way to create several thousand (text) files?
The files should have the same name base and be numbered accordingly.
6 Comments
Stephen23
on 12 Sep 2023
FOR loop and COPYFILE
AAA
on 12 Sep 2023
AAA
on 12 Sep 2023
John D'Errico
on 12 Sep 2023
Not at all surprising. Odds are this just says your hard disk is fragmented. That is a natural thing for any drive that has been in use for possibly multiple years. So each time, your OS takes a little more time to allocate the necessary disk space. This is not a MATLAB issue by the way. It is your OS that is doing the work, and taking the time.
I might suggest you do it by working on an empty drive on the side. Now you would probably find it is less hungry for time.
Accepted Answer
More Answers (0)
Categories
Find more on Low-Level File I/O 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!