Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

problem in create script when use pmode

Asked by huda nawaf on 30 Nov 2012

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

huda nawaf

Tags

Products

No products are associated with this question.

0 Answers

Contact us