Skip to content
Snippets Groups Projects
Commit 5435bfcd authored by sebastien's avatar sebastien
Browse files

4.0: merged r2583 from trunk (adapted erase_compiled_function to deal with all...

4.0: merged r2583 from trunk (adapted erase_compiled_function to deal with all possible MEX extensions)


git-svn-id: https://www.dynare.org/svn/dynare/branches/4.0@2584 ac1d8469-bf42-47a9-8791-bf33cf982152
parent a72016b5
Branches
Tags
No related merge requests found
function erase_compiled_function(func)
% erase compiled function with name 'func'
% Copyright (C) 2006-2008 Dynare Team
% Copyright (C) 2006-2009 Dynare Team
%
% This file is part of Dynare.
%
......@@ -18,10 +18,7 @@ function erase_compiled_function(func)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
if exist([func '.dll'])
clear([func '.dll'])
delete([func '.dll'])
elseif exist ([func '.mexw32'])
clear([func '.dll'])
delete([func '.mexw32'])
if exist([func '.' mexext])
clear(func)
delete([func '.' mexext])
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment