How to run to Matlab programs without parallel toolbox
显示 更早的评论
Hi everyone, I want to run two independent Matlab programs on the same PC. I'd like also to make clear that parallel toolbox is not an option cause I have to run Comsol which is an external program that can be called from matlab and solves FEM.
I bit of more info, the flowchart looks like that;
1)preparing data for subproblem i using matlab and comsol commands (which require trivial memory)
2) solve the FEM using Comsol (this drives my 24GB RAM PC to its limits)
3)post-processing(time-consuming but not significant memory requirements).
What I want is to start two matlabs, lets say A and B, independently (I can do that) and run in parallel two different scenarios.
However I need to find a way to tell Matlab that when the A executes the step 2 the B should wait to finish the job and vice versa, otherwise the PC crashes (Note that I was able to do the same using simpler FEM models in step 2 that do not require so much memory and worked fine)
Do you think is there any way/trick to do so?
采纳的回答
更多回答(2 个)
Jason Ross
2011-9-26
0 个投票
FWIW it looks like Comsol and MATLAB can work together. I don't know if it will solve your particular problem, but I just wanted to pass on the information:
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!