Setting up Matlab to run parfor
    4 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
I would like to set up my matlab code to run parfor on 4 cores on my computer but on the bottom left of my Matlab there is no option or icon to click to set this option. Is there settings to either my computer or Matlab to allow me access to use parfor? 
Thanks.  
0 commentaires
Réponses (1)
  Benjamin Thompson
      
 le 28 Jan 2022
        Do you have the Parallel Computing Toolbox installed?  That is required.  Then, parfor has an argument for choosing a smaller number of cores than the default if that is what you want.
0 commentaires
Voir également
Catégories
				En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

