X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=CreaPhase.git;a=blobdiff_plain;f=octave_packages%2Fsecs2d-0.0.8%2Fsecs2d.m;fp=octave_packages%2Fsecs2d-0.0.8%2Fsecs2d.m;h=386072b249c73b2bbec7c9d999e0fb30f46638f3;hp=0000000000000000000000000000000000000000;hb=f5f7a74bd8a4900f0b797da6783be80e11a68d86;hpb=1705066eceaaea976f010f669ce8e972f3734b05 diff --git a/octave_packages/secs2d-0.0.8/secs2d.m b/octave_packages/secs2d-0.0.8/secs2d.m new file mode 100644 index 0000000..386072b --- /dev/null +++ b/octave_packages/secs2d-0.0.8/secs2d.m @@ -0,0 +1,36 @@ +## PKG_ADD:# Run this only if the package is installed +## PKG_ADD:if (! exist (fullfile (fileparts (mfilename ("fullpath")), "inst"), "dir")) +## PKG_ADD: dirlist= {"Utilities","DDGOX","ThDDGOX","QDDGOX","METLINES","DDGOXT"}; +## PKG_ADD: +## PKG_ADD: for ii=1:length(dirlist) +## PKG_ADD: addpath ( [ fileparts( mfilename("fullpath")) "/" dirlist{ii}]) +## PKG_ADD: end +## PKG_ADD: +## PKG_ADD: __gmsh = file_in_path (EXEC_PATH, "gmsh"); +## PKG_ADD: if (isempty (__gmsh)) +## PKG_ADD: __gmsh = file_in_path (EXEC_PATH, "gmsh.exe"); +## PKG_ADD: if (isempty (__gmsh)) +## PKG_ADD: warning ("gmsh does not seem to be present some functionalities will be disabled"); +## PKG_ADD: endif +## PKG_ADD: endif +## PKG_ADD: clear __gmsh; +## PKG_ADD: +## PKG_ADD: __dx = file_in_path (EXEC_PATH, "dx"); +## PKG_ADD: if (isempty (__dx)) +## PKG_ADD: __dx = file_in_path (EXEC_PATH, "dx.exe"); +## PKG_ADD: if (isempty (__dx)) +## PKG_ADD: warning ("dx does not seem to be present some functionalities will be disabled"); +## PKG_ADD: endif +## PKG_ADD: endif +## PKG_ADD: clear __dx; +## PKG_ADD:end + +## PKG_DEL:# Run this only if the package is installed +## PKG_DEL:if (! exist (fullfile (fileparts (mfilename ("fullpath")), "inst"), "dir")) +## PKG_DEL: dirlist= {"Utilities","DDGOX","ThDDGOX","QDDGOX","METLINES","DDGOXT"}; +## PKG_DEL: +## PKG_DEL: for ii=1:length(dirlist) +## PKG_DEL: rmpath ( [ fileparts( mfilename("fullpath")) "/" dirlist{ii}]) +## PKG_DEL: end +## PKG_DEL:end +