From: Loriane Weber Date: Wed, 27 Apr 2016 16:03:35 +0000 (+0200) Subject: add recursively the package directory to the path X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=CreaPhase.git;a=commitdiff_plain;h=6bd1174fed7a0879d571a56e16c8d8679843d225 add recursively the package directory to the path --- diff --git a/SimuPBI_3WiresPhant_func.m b/SimuPBI_3WiresPhant_func.m index 70da77b..094fce7 100644 --- a/SimuPBI_3WiresPhant_func.m +++ b/SimuPBI_3WiresPhant_func.m @@ -28,7 +28,7 @@ function [] = SimuPBI_3WiresPhant_func (vers, oversamp, basename_output, dist, e addpath('utilities_ESRF') addpath('utilities_LW') -addpath('octave_packages') +addpath(genpath('octave_packages')) ################################################ ############### INPUT parameters ############### diff --git a/SimuPBI_circle_func.m b/SimuPBI_circle_func.m index 7d1f10c..016e8ed 100644 --- a/SimuPBI_circle_func.m +++ b/SimuPBI_circle_func.m @@ -28,7 +28,7 @@ function [] = SimuPBI_circle_func(vers, oversamp, basename_output, dist, energy, addpath('utilities_ESRF') addpath('utilities_LW') -addpath('octave_packages') +addpath(genpath('octave_packages')) ################################################ ############### INPUT parameters ############### ################################################ diff --git a/SimuPBI_unknown_1D_func.m b/SimuPBI_unknown_1D_func.m index 998061a..803d079 100644 --- a/SimuPBI_unknown_1D_func.m +++ b/SimuPBI_unknown_1D_func.m @@ -27,7 +27,7 @@ function [ ret ] = SimuPBI_unknown_1D_func(basename_output, oversamp, dist, energy, ps, nbProj, range_angle, model_ctf, model_Fresnel, attenuation_file, phase_file, dir_out, noise_type, noise_amount) addpath('utilities_ESRF') addpath('utilities_LW') -addpath('octave_packages') +addpath(genpath('octave_packages')) ################################################ ############### INPUT parameters ############### ################################################