]> Creatis software - CreaPhase.git/blobdiff - SimuPBI_unknown_1D_func.m
add recursively the package directory to the path
[CreaPhase.git] / SimuPBI_unknown_1D_func.m
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 ############### 
 ################################################