program for multicore in parallel simulation

조회 수: 3 (최근 30일)
TAMIL SELVAM
TAMIL SELVAM 2012년 8월 14일
답변: Markus Buehren 2018년 11월 13일
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