Error using imwrite (line 528) Unable to open file

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

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 Files and Folders in Help Center and File Exchange

Tags

Asked:

on 4 Oct 2019

Commented:

on 4 Oct 2019

Community Treasure Hunt

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

Start Hunting!