zipping empty subdirectories
조회 수: 1 (최근 30일)
이전 댓글 표시
I try to zip a directory which contains empty sub-directories but zip() function ignore the empty ones. Is there way to include the empty subdirectories as well?
댓글 수: 0
답변 (1개)
Meet
2024년 7월 26일
Hi Ali,
I replicated the issue of zipping the directories and subdirectories using the zip function and successfully zipped empty directories and subdirectories. I used MATLAB R2024a to reproduce the scenario. Here is the code:
zippedfiles = zip('myfiles.zip','myfolder');
For more information on the "zip" function, you can refer to the following documentation: Zip function
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!