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 CenterFile Exchange에서 Scope 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