Clear Filters
Clear Filters

I don't know what this means

25 views (last 30 days)
Yang
Yang on 23 Jul 2024 at 13:14
Edited: Star Strider on 23 Jul 2024 at 17:51
>> unzip('MerchData.zip');pwd
Warning: Permission denied to create file "MerchData".
> In unzip (line 103)

Answers (2)

Torsten
Torsten on 23 Jul 2024 at 13:49
Moved: Torsten on 23 Jul 2024 at 13:49
Most probably, you don't have write permission in the directory to which you want to unzip 'MerchData.zip'.

Star Strider
Star Strider on 23 Jul 2024 at 14:06
Edited: Star Strider on 23 Jul 2024 at 17:51
I always use unzip by unzipping it into a variable.
That would be :
uz = unzip('MerchData.zip')
for this file, and then proceed from there to examine whatever is in the .zip file, that is now in the ‘uz’ cell array.
Everything should be displayed in the ‘uz’ cell array of character vectors. You can then address the elements (fields) individually as necessary.
EDIT — (23 Jul 2024 at 17:51)
Changed ‘structure’ to ‘cell array’ I forgot for a bit that unzip loads to a cell array, not a structure. The rest remains correct.
.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!