问题
From the documentation: http://www.gnu.org/software/octave/doc/interpreter/Command-Line-Options.html
--silent
--quiet
-qDon't print the usual greeting and version message at startup.
If I run:
C:\Octave-3.6.4x\bin>octave -q --eval 2+3
I still get some banner message:
- Use `pkg list' to see a list of installed packages.
- MSYS shell available (C:\Octave-3.6.4x\msys).
- Graphics backend: gnuplot.
ans = 5
How to disable this banner when running Matlab/Octave script or using eval from command line?
来源:https://stackoverflow.com/questions/21197944/run-octave-script-from-shell-without-banner-messages