Azzera filtri
Azzera filtri

program for multicore in parallel simulation

1 visualizzazione (ultimi 30 giorni)
TAMIL SELVAM
TAMIL SELVAM il 14 Ago 2012
Risposto: Markus Buehren il 13 Nov 2018
hi,
i need matlab program for parallel simulation in multicore or single core
  1 Commento
Friedrich
Friedrich il 14 Ago 2012
This question isn't very precise. But maybe the Parallel Computing Toolbox is what you are looking for:
if (feature('numcores') < 12)
matlabpool('open',feature('numcores'))
else
matlabpool('open',12)
end
parfor i=1:n
%your code here
end

Accedi per commentare.

Risposte (1)

Markus Buehren
Markus Buehren il 13 Nov 2018
Hi, you can use my multicore package:
https://de.mathworks.com/matlabcentral/fileexchange/13775-multicore-parallel-processing-on-multiple-cores

Categorie

Scopri di più su Multicore Processor Targets 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!

Translated by