Home How to insert a folder into .tar file in MATLAB by using UNIX commands?
 I have many folder like data_1,data_2, data_3 etc, that will be generated during program running. I want to copy these folders into .tar file named full_data.tar in a specified folder. How can I insert folders named data_1,data_2, data_3 etc into full_data.tar in MATLAB by using UNIX commands?