04/12/2017 at 6:53 AM
#2445
Thushara
Participant
Hi Andy,
With regards to default preferences:
Inside ea_prefs.m lines 16:18 read
if ~exist([home,'.ea_prefs.m'],'file')
copyfile([ea_getearoot,'common',filesep,'ea_prefs_default.m'],[home,'.ea_prefs.m']);
end
There is no “ea_prefs_default.m” file in the root directory “common” folder – I checked the latest version on git. There is however a “ea_prefs_default.mat” file in that folder.
I think the .m file is in the root – not the common folder. Please correct me if I’m wrong. I’ve changed the code as below on my PC to get lead to run.
if ~exist([home,'.ea_prefs.m'],'file')
copyfile([ea_getearoot,filesep,'ea_prefs_default.m'],[home,'.ea_prefs.m']);
end