mikeusru / Braintown

12 stars 4 forks source link

Backslash in file paths #3

Open VanyaKrylov opened 5 years ago

VanyaKrylov commented 5 years ago

The hard-coded file paths in scripts contain backslashes in them which makes it impossible to find the desired file (i.e. uaa_RUN.m has a path to uaa_settings.mat):

if exist([pName,'\uaa_settings.mat'],'file')
    uaa.settings=load([pName,'\uaa_settings.mat']);

changing it to normal slash solves it, but do I have to change all the paths in all the scripts for correct work? I use MATLAB R2018b on Ubuntu 16.04