Error using imwrite (line 528) Unable to open file

3 views (last 30 days)
Hello,
I used
imwrite(P, fullName,'.jpg'); %fulName is a path of .jpg file
and getting following error
Error using imwrite (line 528) Unable to open file
  1 Comment
Walter Roberson
Walter Roberson on 4 Oct 2019
The value stored in fullName designates a file in a directory that does not exist or which you do not have permission to create files in, or designates a file that already exists but you do not have permission to write to.

Sign in to comment.

Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!