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.
function home=ea_gethome
% if ispc
% home = [getenv(‘HOMEDRIVE’) getenv(‘HOMEPATH’)];
% else
% home = getenv(‘HOME’);
% end
home=’C:\MATLAB\’;
if isdeployed
mkdir([ctfroot,filesep,’home’,filesep]);
home=[ctfroot,filesep,’home’,filesep];
end
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.
Best Regards,
Thushara.