https://github.com/Data2Dynamics/d2d
Tip revision: 83d6eedd5f6c33ae94dbce6c4e620d2f1bb57b1f authored by Joep Vanlier on 09 April 2015, 08:41:55 UTC
Forgot to update C version number
Forgot to update C version number
Tip revision: 83d6eed
arClearCFiles.m
% clear compiled c-files
function arClearCFiles(doRemoveMex)
if(nargin==0)
doRemoveMex = true;
end
if(doRemoveMex)
filelist = dir;
for j=1:length(filelist)
indexes = strfind(filelist(j).name, 'arSimuCalcFun_');
if(~isempty(indexes))
delete(filelist(j).name);
end
end
end
% delete /Compiled folder
try %#ok<TRYNC>
rmdir('./Compiled/', 's');
end