program for multicore in parallel simulation

2 次查看(过去 30 天)
hi,
i need matlab program for parallel simulation in multicore or single core
  1 个评论
Friedrich
Friedrich 2012-8-14
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

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by