program for multicore in parallel simulation

1 view (last 30 days)
hi,
i need matlab program for parallel simulation in multicore or single core
  1 Comment
Friedrich
Friedrich on 14 Aug 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

Sign in to comment.

Answers (1)

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

Categories

Find more on Multicore Processor Targets in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!