error using imwrite, permission failure
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I received the following error in code that was previously running error-free and able to write images to a folder in Mac OS (Catalina 10.15.7). The Mac OS is fully up to date for my computer and I haven't installed any other recent Matlab updates (R2020a update 8) to cause this problem.:
Unable to open file "/Volumes/.../tiff-flats/" for writing. You might not have write permission."
The working code has previously written hundreds of image files to this folder before this error occurred. There's been no changes to the folder's path. The path is correct and I checked that the folder is in my path. I've checked that I have read/write permissions to the folder. Yet I still receive the same error message and can't write any images to the folder. What other things should I check that might cause this error to happen?
2 commentaires
Rik
le 8 Sep 2022
I vaguely recall that this sometimes happened to me when specifying specific image types or files without extension. That was on windows (and a while ago), so I'm not sure that helps you.
Réponses (0)
Voir également
Catégories
En savoir plus sur Manage Products dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!