poster
2019-12-14, 20:13
从Matlab中的脚本中,我需要运行一个外部命令。通常,这是通过system (http://www.mathworks.com/help/techdoc/ref/system.html)完成的,但是脚本执行会阻塞,直到命令完成为止。有没有办法在不阻止执行的情况下从脚本执行命令?
编辑:OS是Windows Server。
回答:
在Windows上,您需要使用start
system('start notepad.exe');
更多&回答... (https://stackoverflow.com/questions/5343867)
编辑:OS是Windows Server。
回答:
在Windows上,您需要使用start
system('start notepad.exe');
更多&回答... (https://stackoverflow.com/questions/5343867)