program for multicore in parallel simulation

2 ビュー (過去 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 Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by