我在Makefile中使用MATLAB将一些数据转换为eps。 但是它在整个地方都显示了它的标志。
例如,当我输入bash:
matlab -nojvm -nodisplay -nosplash -r "display('derp');exit"
我明白了:
< M A T L A B (R) >
Copyright 1984-2012 The MathWorks, Inc.
R2012a (7.14.0.739) 64-bit (glnxa64)
February 9, 2012
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
derp
我知道MATLAB不是python,只能
python -c "print 'zoom'"
但有没有办法让它停止打印MATLAB徽标?
答案 0 :(得分:1)
好吧,我不是一个matlab专家,但你总能做一些丑陋的事情:
matlab -nojvm -nodisplay -nosplash -r "display('derp');exit" | tail -n +10
请注意,“+ 10”可能会根据您的Matlab版本或许可证而更改。对于课堂许可证,例如有3个额外的行。