MATLAB Answers

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

46 views (last 30 days)
Maxim Delacoe
Maxim Delacoe on 1 Feb 2021
Edited: Amrtanshu Raj on 5 Feb 2021
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

Answers (1)

Amrtanshu Raj
Amrtanshu Raj on 5 Feb 2021
Edited: Amrtanshu Raj on 5 Feb 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 !!

Community Treasure Hunt

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

Start Hunting!

Translated by