diff toolboxes/FullBNT-1.0.7/bnt/uninstallC_BNT.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/toolboxes/FullBNT-1.0.7/bnt/uninstallC_BNT.m	Tue Feb 10 15:05:51 2015 +0000
@@ -0,0 +1,17 @@
+dirs = {'potentials/Tables', ...
+	'CPDs/@discrete_CPD', ...
+      'inference/static/@jtree_sparse_inf_engine', ...
+      'inference/static/@gibbs_sampling_inf_engine/private'};
+
+BNT_HOME = '/home/ai2/murphyk/matlab/FullBNT'; % edit this
+%global BNT_HOME
+
+for d=1:length(dirs)
+  f = fullfile(BNT_HOME, 'BNT', dirs{d});
+  fprintf('removing Cmex files from %s\n', f);
+  cd(f)
+  delete *.mex*
+  delete *.dll
+  delete *.obj
+  delete *.o
+end