why i can not use imwrite?
Show older comments
I am using imwrite function in matlab but it shows me : ??? Error using ==> imwrite at 457 Can't open file "moosh.jpg" for writing. You may not have write permission.
Error in ==> Untitled at 4 imwrite(pic , 'moosh.jpg');
I searched forum and other people have the same problem too but there were no certain answer.is the problem is something about my win 8?? please help.it is a very simple problem that makes me nervous. thank you my code is:
pic=imread('1.jpg');
imwrite(pic , 'moosh.jpg');
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 9 Nov 2013
Edited: Azzi Abdelmalek
on 9 Nov 2013
0 votes
Maybe the file moosh.jpg exists already and is read only. Try another name.
2 Comments
Behrad kiani
on 9 Nov 2013
Azzi Abdelmalek
on 9 Nov 2013
change a folder (from C: to D: for example)
Categories
Find more on Image Processing Toolbox 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!