Dear Andy and Greydon,
I ran into this error as well after upgrading my PC and trying to reinstall lead dbs. It appears that Matlab’s copyfile() has issues when it is asked to copy files to a network mapped drive. My default home directory is set to a network drive by our IT department. I hacked the ea_gethome.m file to set the home directory to something else. Please see below.
% if ispc
% home = [getenv(‘HOMEDRIVE’) getenv(‘HOMEPATH’)];
% home = getenv(‘HOME’);
I hope this helps. In future, perhaps this issue can be resolved – otherwise I’ll have to do this every time I upgrade to a newer version of lead dbs.