meaning of copyfile function message 'Cleaning up unclosed ZipFile'

13 visualizaciones (últimos 30 días)
maeda
maeda el 7 de Jun. de 2017
Comentada: Benjamin Pehlivanlar el 18 de Jul. de 2023
I used copyfile() to copy a zip file.
Then coping was succeeded. I found a copied file.
but I got message in command window like this ↓
Cleaning up unclosed ZipFile for archive C:\~~\sample.zip
I could not understand the meaning of message.
can you help me?
  4 comentarios
Thomas Sawyer
Thomas Sawyer el 18 de Jun. de 2018
I am having this exact same problem. I am copying a .zip file into a temp folder, processing it, then deleting it all. I don't get the message until the execution is complete and returns control to the command window. When I do it in R2013b it works fine and I don't get any messages. When I do it in R2017b everything copies fine and I have no problem with the results, but I do get all these pesky red text "Cleaning up unclose ZipFile for archive....".
Benjamin Pehlivanlar
Benjamin Pehlivanlar el 18 de Jul. de 2023
I had the same issue when using the following function: LISTZIPCONTENTS - File Exchange - MATLAB Central (mathworks.com)
I have added pause(1) after it, in some cases it works (because I want to delete the zip file once extracted), while in some others it does not (access denied). I hope it helps, even if this solution does not always work.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre MATLAB 入門 en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!