export fig error EPS file

4 views (last 30 days)
economics student
economics student on 3 Feb 2021
Hi I am having issues with export fig even if the installation has been correctly done both for export fig and ghostscript and the input arguments are correct (as far as i am concerned). Attached is the EPS file. Many thanks in advance!
Please ensure:
* that the function you used (C:\Program Files\MATLAB\R2017b\VAR\VAR-Toolbox-main\v3dot0\ExportFig\export_fig.m) version 3.13 is from the expected location
* and that you did not made a mistake in export_fig's expected input arguments
* and that ghostscript is properly installed in C:\Program Files\MATLAB\R2017b\VAR\VAR-Toolbox-main\v3dot0\gs9.53.3\bin\gswin32c.exe
If the problem persists, then please report a new issue.
In your report, please upload the problematic EPS file: C:\Users\HP\AppData\Local\Temp\tpfc8d6fbd_3cbc_4eb8_a0a9_88de882788c1.eps (you can then delete this file).
Error using export_fig (line 923)
Could not create graphics/DATA_GK.pdf - perhaps the folder does not exist, or you do not have write permissions, or
the file is open in another application
Error in SaveFigure (line 31)
export_fig(path,['-' type],'-painters')
Error in VARToolbox_Primer (line 60)
SaveFigure('graphics/DATA_GK',1)

Answers (0)

Categories

Find more on Printing and Saving in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!