MATLAB has opened to write to file and hasn't closed them... Exit MATLAB then try moving/deleting the files.
Movefile access is denied error
3 次查看(过去 30 天)
显示 更早的评论
I have many images that have no file extension saved in the folder RTL04-UR19-C8. Ideally I want to move many files that contain the string NUI into a sub folder called AllNUI.
Originally I tried: >> cd('\\Biomech-10\j') >> movefile('RTL04-UR19-C8/*NUI*','../RTL04-UR19-C8/AllNUI'); ??? Error using ==> movefile Unknown error occurred.
Since there was not a lot of guidance with this error, I tried to move a single image, and included the full directory:
>> movefile('RTL04-UR19-C8/00001_NUI_FITC_RTL04-UR19-C8','../RTL04-UR19-C8/AllNUI'); ??? Error using ==> movefile Access is denied.
Also I really want to enter the RTL04-UR19-C8 folder as the current directory as little as possible because there are so many images java has a timing error. Any advice?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!