altmany / export_fig

A MATLAB toolbox for exporting publication quality figures
BSD 3-Clause "New" or "Revised" License
1.28k stars 368 forks source link

Error in export_fig #309

Closed kpremaratne closed 4 years ago

kpremaratne commented 4 years ago

export_fig worked fine until today (08-Jul-2020). This is the error I get:

export_fig error. Please ensure:

If the problem persists, then please report a new issue.

Error using imwrite (line 541) Unable to open file "export_fig_out.png" for writing. You might not have write permission. Error in export_fig (line 699) imwrite(A, pngOptions{:});

Please advise. Thank you.

altmany commented 4 years ago

As the error clearly states, export_fig is "Unable to open file "export_fig_out.png" for writing. You might not have write permission" in the output folder.