video writer in matlab
이전 댓글 표시
I am accessing one video in my code and then modifying it. After that I am writing it using video writer but it is giving error that permission denied. I have look for the permissions i have and i have also run matlab as administrator but same error is coming. can you please tell me what could be problem in this?
답변 (1개)
Walter Roberson
2016년 1월 27일
0 개 추천
Which directory are you trying to write the file to? You cannot write the file anywhere under the MATLAB installation directory; it needs to be in a directory of your own that you have write access to. If the file already exists then you need to have write access to the file.
댓글 수: 5
sweta arya
2016년 1월 27일
Walter Roberson
2016년 1월 27일
What are the results of using fileattrib on the file? In particular the ownership information and all of the permissions ?
Image Analyst
2016년 1월 27일
You might not be able to write over it while you are still reading from it. Write a brand new file, then delete the original video file, and rename the new one to the old name.
sweta arya
2016년 1월 28일
편집: Walter Roberson
2016년 1월 28일
Walter Roberson
2016년 1월 28일
It appears that you might not be the owner of the file or directory. You will need to use Windows Explorer to examine the folder permissions; see https://msdn.microsoft.com/en-us/library/bb727008.aspx
카테고리
도움말 센터 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!