"May not have permission" error when zipping files in MATLAB-Drive
2 views (last 30 days)
Show older comments
I'm trying to make an offline copy of the small repository I have on MATLAB Drive, but if I select multiple files, right-click, and select "Create Zip File," then I get the following error:
Error copying myfile.m.
You may not have permission.
Alternatively, using MATLAB's zip.m function, I get the error
zip('dir_name',{'*.m'});
Error using zip (line 63)
Could not open "dir_name.zip" for writing.
Finally, I tried to just use the OS, but that didn't work either:
tarstr1 = 'tar -czf dir_name.tar.gz dir_name/';
system(tarstr1)
tar (child): dir_name.tar.gz: Cannot open: No space left on device
tar (child): Error is not recoverable: exiting now
tar: FieldTrip.tar.gz: Cannot write: Broken pipe
tar: Error is not recoverable: exiting now
Since nothing on MATLAB-Drive was working well for me, I tried installing the MATLAB Drive Connector. However, when I open this up on my machine, none of my files are there (I only have a bunch of empty directories).
So, I'm very confused and don't understand why I can't download my files. Does anybody know why this is happening and what I can do to fix it?
2 Comments
Gareth
on 22 May 2020
Edited: Gareth
on 22 May 2020
Hi Ty,
Firstly, could you check https://drive.matlab.com/ and confirm whether you have any space left in your MATLAB Drive (there is an indicator for this on the bottom left of that page).
Secondly, your MATLAB Drive Connector should be synchronising all of your MATLAB Drive files down to your local machine. Could you reply with what the main UI says please (note, if you are on Linux you can open this by executing ~/bin/MATLABConnector toggle in a terminal window).
Am I correct in assuming that your zip attempts were made in MATLAB online (https://matlab.mathworks.com/)?
Thanks,
Gareth.
Answers (0)
Communities
More Answers in the Distance Learning Community
See Also
Categories
Find more on Downloads 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!