compression - Compress a folder using tar in MATLAB -
i try compress folder in matlab using tar. want assign current date name of archive file. when try
tar 'datestr(now)' foofolder
nothing happens. with
tar datestr(now) foofolder
the name of archive file datestr(now).tar expected. solution?
the documentation quite clear, use function syntax:
tar(tarfilename,files)
example:
tar(datestr(now),'foofolder')
Comments
Post a Comment