Rank: 120 based on 522 downloads (last 30 days) and 2 files submitted
photo

Tim Holy

E-mail
Company/University
Washington University in St. Louis

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Tim View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
04 Jan 2013 Save MAT files more quickly Saves large numeric arrays more quickly than Matlab's built-in save command Author: Tim Holy file operations, save, load, mat file, hdf5, performance 58 14
  • 4.6
4.6 | 6 ratings
07 Feb 2011 Screenshot Generate maximally perceptually-distinct colors Choose a set of n colors that can be readily distinguished from each other Author: Tim Holy color, legend, labels, distinct, distinguishable, colororder 464 27
  • 5.0
5.0 | 28 ratings
Comments and Ratings by Tim View all
Updated File Comments Rating
07 Sep 2014 Save MAT files more quickly Saves large numeric arrays more quickly than Matlab's built-in save command Author: Tim Holy

@arnold, does it work if you list variables explicitly? It's possible it's just missing a variant that saves all the variables in your workspace.

07 Jun 2014 Save MAT files more quickly Saves large numeric arrays more quickly than Matlab's built-in save command Author: Tim Holy

@zhang, the problem is that '-v6' has some serious limitations, for example it can't store arrays bigger than 2GB. It's also not as portable to other languages, etc; '-v7.3' is based on HDF5, so many different languages can read the files.

05 May 2014 Save MAT files more quickly Saves large numeric arrays more quickly than Matlab's built-in save command Author: Tim Holy

@yaron, off the top of my head I have no idea. What is the error message, and what are version(s) of Matlab on each?

10 Jan 2014 Save MAT files more quickly Saves large numeric arrays more quickly than Matlab's built-in save command Author: Tim Holy

Ali, it can only handle certain types, I didn't try to reverse engineer the entire format.

But see the comment from Raj, immediately below yours, about hlp_serialize.

02 Oct 2013 Generate maximally perceptually-distinct colors Choose a set of n colors that can be readily distinguished from each other Author: Tim Holy

See comments from 2010 for a workaround that doesn't require the Image Processing Toolbox.

Comments and Ratings on Tim's Files View all
Updated File Comment by Comments Rating
07 Sep 2014 Save MAT files more quickly Saves large numeric arrays more quickly than Matlab's built-in save command Author: Tim Holy Holy, Tim

@arnold, does it work if you list variables explicitly? It's possible it's just missing a variant that saves all the variables in your workspace.

06 Sep 2014 Save MAT files more quickly Saves large numeric arrays more quickly than Matlab's built-in save command Author: Tim Holy arnold

I don't seem to understand the syntax, it doesn't behave like 'save'.

savefast('test.mat');

Does produce a file with the appropriate name but it doesn't seem to contain anything. Loading it does not restore any of the workspace variables.

17 Jun 2014 Generate maximally perceptually-distinct colors Choose a set of n colors that can be readily distinguished from each other Author: Tim Holy Sundar, Harshavardhan

Awesome piece of code....this helped me a lot in building intuition in a different problem I am working on..thanks a lot...

07 Jun 2014 Save MAT files more quickly Saves large numeric arrays more quickly than Matlab's built-in save command Author: Tim Holy Holy, Tim

@zhang, the problem is that '-v6' has some serious limitations, for example it can't store arrays bigger than 2GB. It's also not as portable to other languages, etc; '-v7.3' is based on HDF5, so many different languages can read the files.

07 Jun 2014 Save MAT files more quickly Saves large numeric arrays more quickly than Matlab's built-in save command Author: Tim Holy zhang

This is unnecessary. Use the build-in save(filename, variables,'-v6') is even much faster than this file.

e.g., test showed that:
if not use '-v6', it takes 7.7 seconds for a file.
Using this file, it's 0.73 seconds.
But using the '-v6' option, it's ONLY 0.17 seconds!

Contact us