problem in create script when use pmode

조회 수: 1 (최근 30일)
huda nawaf
huda nawaf 2012년 11월 30일
hi,
my computer has two cores, so I tried to run this simple code. I faced two problems:
  1. I can not run script, I can run this code from command window. I don not know why?
  2. when run it , the two cores give me two results. It must each core give one result. Where each core sum one column.why each core give the sum of two columns?
pmode start
x=magic(2);
a=sum(x,distributed());
thanks in advance

답변 (0개)

카테고리

Help CenterFile Exchange에서 Argument Definitions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by