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 件)
Babak
2013 年 4 月 11 日
MATLAB has opened to write to file and hasn't closed them... Exit MATLAB then try moving/deleting the files.
0 件のコメント
参考
カテゴリ
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!