freemat -V (return code: 1)
freemat: cannot connect to X server
freemat --help (return code: 0)
FreeMat v4.2
Command Line Help
You can invoke FreeMat with the following command line options:
-f <command> Runs FreeMat in command mode. FreeMat will
startup, run the given command, and then quit.
Note that this option uses the remainder of the
command line, so use it last.
-nogui Suppress the GUI for FreeMat.
-noX Disables the graphics subsystem.
-nogreet Skips the greeting when starting.
-t Test mode -- by default FreeMat will
exit with code 1 in this mode.
-e uses a dumb terminal interface
(no command line editing, etc.)
This flag is primarily used when
you want to capture input/output
to FreeMat from another application.
-s <file> Script mode. If you put a #!FreeMat -s at the
beginning of a .m file, and make it executable
in Unix-like OSes, FreeMat will start up, execute
the script, and quit automatically.
-i <path> Install FreeMat - provide the path to the
FreeMat data directory (containing the
scripts, help and other files.). Normally
these are installed in /usr/local/share/
but regardless, you must run FreeMat -i once
to indicate the location of this directory.
Note that in this mode, FreeMat will only
update its internal configuration and then
exit.
-p <path> Set the FreeMat path to the given pathspec.
-r <path> Set the FreeMat root path to the given pathspec.
-help Get this help text