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
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!