【发布时间】:2013-08-07 14:07:27
【问题描述】:
我有一个我想从 MATLAB 运行的 fortran 代码的可执行文件。
我尝试使用以下两个选项,但出现错误:
!/home/atrac/code case172.jcl
error:- ls: cannot access ./id: No such file or directory
ls: cannot access ./id: No such file or directory
!gnome-terminal --command "./home/myhome/code case12.jcl"
error: There was an error creating child process for this terminal
有没有办法我可以编写一个 shell 脚本来执行程序并暂停 Matlab 直到执行外部程序然后将控制权传回给 Matlab?
我正在尝试在 Matlab 中运行一个遗传算法,它调用这个外部软件。 非常感谢任何想法或帮助。
谢谢, 亚什
【问题讨论】:
标签: linux matlab fortran genetic-algorithm