Why do I receive an error message when exporting a figure to PDF format in MATLAB?

5 Ansichten (letzte 30 Tage)
When I export the figure to a PDF format using the PRINT command or using the Export Setup, I receive the error messages:
error using print
error using /private/ghostscript
problem converting post script.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 27 Jun. 2009
This occurs when the SHELL environment variable is not defined.
To resolve this issue, please define the MATLAB_SHELL environment variable, for instance:
setenv MATLAB_SHELL /bin/sh

Weitere Antworten (0)

Kategorien

Mehr zu Scope Variables and Generate Names finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by