![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
leeson23333
How to save the world
展开
-
SHELL programing study in linux
# 显示文件中的前10行 (模拟“head”的行为) sed 10q # 删除文件中开头的10行 sed '1,10d' # 删除匹配式样的行 sed '/pattern/d's/a/b/g g:replace everyplace;without g:replace firsts:replace脚本内容如下: #!/bin/sh echo "number:$#" echo "scn原创 2014-02-10 19:12:17 · 699 阅读 · 0 评论 -
在shell中调用matlab执行
1.如何在shell脚本中调用Matlabscript language就像灵活的瑞士军刀,但进行某些专业处理会力不从心。譬如复杂的数学运算、建模、复杂的文本处理会等等。没关系,专业的人做专业的事,同样,专业的工具干专业的活,我们可以借助外部工具帮忙,譬如matlab、C/C++,vim等等,下面以Matlab为例,简单描述一下如何用shell脚本产生m程序,并用matlab工转载 2014-05-03 13:27:54 · 6416 阅读 · 0 评论 -
关于shell调用matlab的一些注意事项么么哒
matlab -nodesktop -nosplash - nojvm -r "[command];"% command可以是script 但不需要添加后缀名.m原创 2014-05-04 22:21:33 · 1312 阅读 · 0 评论