How can I unzip("MerchData.zip"); - permission denied to create file

3 visualizaciones (últimos 30 días)
Maxim Delacoe
Maxim Delacoe el 1 de Feb. de 2021
Respondida: Mariona el 1 de Abr. de 2025
Hi,
I'm trying to follow the 'Get started with transfer learning' tutorial but on the first step...
unzip("MerchData.zip");
I get the issue...
> In extractArchive>extractArchiveEntry (line 119)
In extractArchive (line 62)
In unzip (line 98)
Warning: Permission denied to create file
".\MerchData\MathWorks Playing Cards\MOV_1692_60.jpg".
...for every image.
Can someone please help me import these images?
I have tried changing permissions of my MATLAB R2020b folder, to provide full permissions, but I may have made a mistake.
I have the deeplearning toolbox installed.
Thanks for the help

Respuestas (2)

Amrtanshu Raj
Amrtanshu Raj el 5 de Feb. de 2021
Editada: Amrtanshu Raj el 5 de Feb. de 2021
Hi,
You should try to change the current directory (using cd) to some other directory like Desktop or Home and then try.
You can also try to run MATLAB as an Administrator.
Hope this helps !!

Mariona
Mariona el 1 de Abr. de 2025
Hi,
Try deleting the zip file that is already uncompressed on your current directory. This will unzip the file again and you won't be overwritting on it. Hope it helps.

Categorías

Más información sobre Deep Learning Toolbox 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