%% Compress Select Files to TAR Files
% Compress all files with a .m and .mlx extension in the current folder to the file backup.tar.

tarfiles = tar('backup.tar',{'*.m','*.mlx'})

% Copyright 2012 The MathWorks, Inc.