diff --git a/startup.m b/startup.m index c7e63dc..7bba384 100644 --- a/startup.m +++ b/startup.m @@ -1,14 +1,16 @@ % Set-up RETIMAT by adding relevant folders to MATLAB search path % % David Romero-Bascones, dromero@mondragon.edu -% Biomedical Engineering Department, Mondragon Unibertsitatea, 2022 +% Biomedical Engineering Department, Mondragon Unibertsitatea, 2024 try - addfcn = @(x) addpath([pwd '/src/' x]); + wdir = replace(which(mfilename), 'startup.m', ''); + + addfcn = @(x) addpath(fullfile(wdir, 'src', x)); addfcn('io'); addfcn('reflectance'); - addfcn('segment'); + % addfcn('segment'); addfcn('spatial'); addfcn('structure'); addfcn('texture');