No BSD License  

Highlights from
disk, memory caching - store objects by arbitrary key

image thumbnail
from disk, memory caching - store objects by arbitrary key by Mark Histed
Store any matlab objects to disk or keep them in memory, indexed by arbirary objects.

directories
function dirs = directories
%DIRECTORIES: settings on where to store files
%
%$Id: directories.m 326 2008-09-04 23:11:10Z histed $

hName = hostname;

switch hName
  case 'mambo'
    dirs.diskcache = '/Volumes/small160/datacache';
    % can add any other fields here
    dirs.phaseFigOut = '~/data/2p-output-figures/phase_adjust';
  case 'zquad'
    dirs.diskcache = 'i:/users/histed/diskcache-auto';
end



Contact us at files@mathworks.com