%--------------------------------------------------------------------------
% Clears and frees memory of all objects (data, projectors, algorithms) 
% currently in the astra-library.
%--------------------------------------------------------------------------
%--------------------------------------------------------------------------
% This file is part of the ASTRA Toolbox
% 
% Copyright: 2010-2018, imec Vision Lab, University of Antwerp
%            2014-2018, CWI, Amsterdam
% License: Open Source under GPLv3
% Contact: astra@astra-toolbox.com
% Website: http://www.astra-toolbox.com/
%--------------------------------------------------------------------------

astra_mex_data2d('clear');
astra_mex_data3d('clear');
astra_mex_algorithm('clear');
astra_mex_projector('clear');
astra_mex_projector3d('clear');
astra_mex_matrix('clear');