Running a matlab file multiple times on the same computer
3 次查看(过去 30 天)
显示 更早的评论
Can I run the same version of my matlab code, simultaneously, on the same computer (with different input data and input/output folders)?
My computer has 4 cores and I want to take advantage of this.
2 个评论
Walter Roberson
2019-4-20
No need to use multiple copies of the code if you redirect stdin and stdout. input() the name of the input data file and output data file.
回答(1 个)
Bob Thompson
2019-4-18
Short answer is yes, it is possible, but unfortunately I am not exactly sure how to do it. If I remember the method I saw it was not done in Matlab, but rather with a cmd window executable.
If you have the parallel computing box it is possible to conduct this within Matlab itself, using parpool.
This might be helpful for running externally.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!