Extremely Slow !!!!

My codes takes so long time to be executed. I am using the Symbolic engine and MATLAB 2010b.
I tried to use matlabbool and parfor but the performance doesn't get any better.
I have a machine with 8 CPUs. Would anyone please tell me how I can run my code using all these CPUs ???

댓글 수: 3

Edric Ellis
Edric Ellis 2012년 4월 17일
Any chance you can post some code showing what you tried with PARFOR?
deep
deep 2012년 4월 17일
wtemp= 0.01:0.01:0.99;
parfor i=1:length(wtemp(1,:))
eval(1,i) = abs(subs(det(M),wtemp(1,i)));
end
Walter Roberson
Walter Roberson 2012년 4월 17일
Calling a variable "eval" is likely to get you into trouble, as "eval" is the name of an important MATLAB routine.

댓글을 달려면 로그인하십시오.

답변 (0개)

질문:

2012년 4월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by