![]() |
以批处理模式运行Matlab
在我看来,有两种方法可以在批处理模式下运行Matlab:
第一个: unset DISPLAY matlab > matlab.out 2>&1 &1 [URL="http://en.wikipedia.org/wiki/Redirection_(computing)#Redirecting_to_and_from_the_standard_file_handles"]重定向[/URL]到文件matlab.out 。 </p>然后,它使用[URL="http://en.wikipedia.org/wiki/Here_document"]Heredoc[/URL]方式将输入传递给MATLAB(这不是MATLAB特有的,它通常是将多行作为输入传递给命令行程序的方法)。 语法是 |
所有时间均为北京时间。现在的时间是 02:17。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.