]> Creatis software - CreaPhase.git/blobdiff - octave_packages/secs1d-0.0.8/secs1d.m
Add a useful package (from Source forge) for octave
[CreaPhase.git] / octave_packages / secs1d-0.0.8 / secs1d.m
diff --git a/octave_packages/secs1d-0.0.8/secs1d.m b/octave_packages/secs1d-0.0.8/secs1d.m
new file mode 100644 (file)
index 0000000..cb7ba02
--- /dev/null
@@ -0,0 +1,15 @@
+# Run this only if the package is installed
+## PKG_ADD: if (! exist (fullfile (fileparts (mfilename ("fullpath")), "inst"), "dir"))
+## PKG_ADD:  dirlist= {"Utilities","DDG","DDN"};
+## PKG_ADD:  for ii=1:length(dirlist)
+## PKG_ADD:     addpath ( [ fileparts( mfilename("fullpath")) "/" dirlist{ii}])
+## PKG_ADD:  end
+## PKG_ADD: end
+
+# Run this only if the package is installed
+## PKG_DEL: if (! exist (fullfile (fileparts (mfilename ("fullpath")), "inst"), "dir"))
+## PKG_DEL:  dirlist= {"Utilities","DDG","DDN"};
+## PKG_DEL:  for ii=1:length(dirlist)
+## PKG_DEL:     rmpath ( [ fileparts( mfilename("fullpath")) "/" dirlist{ii}])
+## PKG_DEL:  end
+## PKG_DEL: end