How to run multiple cores without graphical interfaces?
Afficher commentaires plus anciens
How to run multiple cores without graphical interfaces?
Usually, I use the graphical interface of MATLAB to execute the following code.
an example,
parpool('local',4);
parfor ik=1:10
a(ik)=1;
end
But this code can not be run if I don't open the graphical interface of MATLAB.
I would like to know how to run a programe like this example without the graphical interface of MATLAB.
Can I implement the calculation with other commands without the graphical interface of MATLAB?
2 commentaires
Jan
le 19 Déc 2018
The problem might be hidden in te expression "can not be run if I don't open the graphical interface". What are you doing exactly? To understand what happens, it is helpful if you post, what you are doing and what you observe. E.g. do you get an error message?
Xin-Qiang
le 20 Déc 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Parallel Computing Fundamentals dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!