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

27 次查看(过去 30 天)
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

回答(1 个)

Amrtanshu Raj
Amrtanshu Raj 2021-2-5
编辑:Amrtanshu Raj 2021-2-5
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 !!

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by