Matlab 为什么我会得到警告;epstool二进制文件不可用";,使用saveas(gcf,';filename.pdf';)

Matlab 为什么我会得到警告;epstool二进制文件不可用";,使用saveas(gcf,';filename.pdf';),matlab,octave,Matlab,Octave,我正在用倍频程绘制等高线,并使用命令saveas(gcf,'rainzam.pdf')我得到了输出,但我只是想知道为什么会得到以下警告: warning: print.m: epstool binary is not available. Some output formats are not available. warning: print.m: fig2dev binary is not available. Some output formats are not available.

我正在用倍频程绘制等高线,并使用命令
saveas(gcf,'rainzam.pdf')
我得到了输出,但我只是想知道为什么会得到以下警告:

warning: print.m: epstool binary is not available.
Some output formats are not available.
warning: print.m: fig2dev binary is not available.
Some output formats are not available.
warning("off", "print.m: epstool binary is not available")
warning("off", "print.m: fig2dev binary is not available")
这并不严重,但如果有办法让它们消失,我将非常感谢您的帮助。

如前所述,您需要安装和
fig2dev
,它是的一部分

根据您的系统,可能有可用的软件包

例如,在
openSUSE
上,只需发布
cnfepstool
,即可生成

Try installing with:
    sudo zypper install epstool
如果
cnf epstool
仍然生成
epstool:command not found
,则需要订阅
发布
repo。最简单的是使用

同样地,
sudo zypper安装transfig
以获得
fig2dev


或者,您可以禁用警告:

warning: print.m: epstool binary is not available.
Some output formats are not available.
warning: print.m: fig2dev binary is not available.
Some output formats are not available.
warning("off", "print.m: epstool binary is not available")
warning("off", "print.m: fig2dev binary is not available")

但是
epstool
fig2dev
的功能那时将不可用。

这对我来说非常有效,我不再有警告。我为epstool和transfig都做了“sudo apt get install”。谢谢@huntj给了我一些宝贵的时间。