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

5 ビュー (過去 30 日間)
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.

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeScope Variables and Generate Names についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by