]> Creatis software - CreaPhase.git/commitdiff
add recursively the package directory to the path
authorLoriane Weber <loriane.weber@creatis.insa-lyon.fr>
Wed, 27 Apr 2016 16:03:35 +0000 (18:03 +0200)
committerLoriane Weber <loriane.weber@creatis.insa-lyon.fr>
Wed, 27 Apr 2016 16:03:38 +0000 (18:03 +0200)
SimuPBI_3WiresPhant_func.m
SimuPBI_circle_func.m
SimuPBI_unknown_1D_func.m

index 70da77b442eac607f67d66ecf192d920d3feccf5..094fce7e467021e02eb5f5cd1e670599c25bb34b 100644 (file)
@@ -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 ############### 
index 7d1f10c9feea95768e8ce7db4d9853e8d2fd07af..016e8ed38d337c561fbbb530842e8f2cf1ffacaf 100644 (file)
@@ -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 ############### 
 ################################################
index 998061a459fe9d7e29406fb7f8ac198dc7fda15a..803d079ffca73d29511623f3a213cda47a19327e 100644 (file)
@@ -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 ############### 
 ################################################