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

Popular posts from this blog

css - Text drops down with smaller window -

php - Boolean search on database with 5 million rows, very slow -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -