【转】在命令行中运行 matlab
转自http://blog.csdn.net/adream307/article/details/7756481
#!/bin/bash
#run matlab in command line
matlab -nosplash -nodesktop
#run m file in command line, for example run foo.m in command line:
#matlab -nosplash -nodesktop -r foo