hiii when i try to use imwrite appear this problem
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
> x=imread('onion.png');
>> imshow(x)
>> imwrite(x,'onion.bmp')
??? Error using ==> imwrite at 457
Can't open file "onion.bmp" for writing.
You may not have write permission.
please can you help me
댓글 수: 0
답변 (1개)
Sean de Wolski
2012년 11월 20일
0 개 추천
It means you likely don't have file permissions. There are several things that could cause this:
- Another program could have it open.
- The folder doesn't have write permissions and you're not running ML in Admin Mode.
댓글 수: 1
Walter Roberson
2012년 11월 20일
Also if you are running Windows 7 and your directory is underneath one of the directories that Windows reserves for system use, such as the directory that programs are normally installed in.
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!