annotate 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
rev   line source
wolffd@0 1 dirs = {'potentials/Tables', ...
wolffd@0 2 'CPDs/@discrete_CPD', ...
wolffd@0 3 'inference/static/@jtree_sparse_inf_engine', ...
wolffd@0 4 'inference/static/@gibbs_sampling_inf_engine/private'};
wolffd@0 5
wolffd@0 6 BNT_HOME = '/home/ai2/murphyk/matlab/FullBNT'; % edit this
wolffd@0 7 %global BNT_HOME
wolffd@0 8
wolffd@0 9 for d=1:length(dirs)
wolffd@0 10 f = fullfile(BNT_HOME, 'BNT', dirs{d});
wolffd@0 11 fprintf('removing Cmex files from %s\n', f);
wolffd@0 12 cd(f)
wolffd@0 13 delete *.mex*
wolffd@0 14 delete *.dll
wolffd@0 15 delete *.obj
wolffd@0 16 delete *.o
wolffd@0 17 end