How to run to Matlab programs without parallel toolbox
Show older comments
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?
Accepted Answer
More Answers (2)
Jason Ross
on 26 Sep 2011
0 votes
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:
Giorgos Kourakos
on 26 Sep 2011
0 votes
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!