How to run to Matlab programs without parallel toolbox
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (2)
Jason Ross
am 26 Sep. 2011
0 Stimmen
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
am 26 Sep. 2011
0 Stimmen
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!