How to create zip nested folder in a single folder parent folder
3 次查看(过去 30 天)
显示 更早的评论
Hello all,
I have parent folder as C:\main_folder and subfolder inside the parent folder as C:\main_folder\sub_folder.
I want to zip the parent folder how can I zip it in matlab?
Thanks in advance
0 个评论
采纳的回答
Walter Roberson
2022-11-10
https://www.mathworks.com/help/matlab/ref/zip.html
use the three parameter version of zip. Pass '.' as the second parameter and pass the name of the folder as the third parameter.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Debugging and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!