How to create zip nested folder in a single folder parent folder
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Meenal
le 10 Nov 2022
Réponse apportée : Walter Roberson
le 10 Nov 2022
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 commentaires
Réponse acceptée
Walter Roberson
le 10 Nov 2022
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Debugging and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!