Borrar filtros
Borrar filtros

zipping empty subdirectories

2 visualizaciones (últimos 30 días)
Ali
Ali el 19 de Jun. de 2012
Respondida: Meet el 26 de Jul. de 2024
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?

Respuestas (1)

Meet
Meet el 26 de Jul. de 2024
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

Categorías

Más información sobre Search Path en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by