Exponentially slow save rate with -v6
Show older comments
Hi, I am trying to save a hours worth of recording that has been split up into sections of 5,500 frames (uint8) which is under the 2GB cap that the -v6 is limited too. Saving these groups of 5,500 as their own .mat file (yes I know not the best way to do this), is pretty fast in the command window. Ran 20 times in a for loop avg. time was around 18 seconds per group. However, the script I wrote, using the same exact commands to save 20 groups it takes anywhere from 25 - 66 minutes which is not optimal or my research. Any reasons why the save gums up?
3 Comments
Sean de Wolski
on 25 Jul 2014
Are you clearing out data once you save it?
Geoff Hayes
on 26 Jul 2014
Nicholas - perhaps attach some (or all) of the code that is in your script so we can see what it is doing.
Nicholas Vitale
on 28 Jul 2014
Accepted Answer
More Answers (0)
Categories
Find more on Workspace Variables and MAT 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!