error using imwrite, permission failure
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Rik
2022 年 9 月 8 日
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.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Manage Products についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!