
Why do my parfor loops run in parallel in matlab interactive mode, but in serial mode when I deployed, using Matlab compiler?
    7 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    William Smith
      
 il 14 Feb 2018
  
    
    
    
    
    Modificato: William Smith
      
 il 14 Feb 2018
            I have multiple programs that contain parfor loops. These parfor loops successfully execute the relevants sections in parallel when I run in interactive Matolab.
However when I deploy these programs using Matlab compiler, they only run in serial. It seems the Matlab compiler is not honouring my setting "Automatically create a parallel pool (if one doesn't exist) when parallel keywords are executed", which I have enabled in my Matlab settings. (I am compiling using the same settings, so these settings should be baked into the deployed app).
2 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su C Shared Library Integration in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!