setting up matlab multicore computing

I'm trying to use something like this in matlab

parfor i = 1 : 100
    disp( sprintf('process %d\n', i) ); 

how do I setup the number of cores I want to use (possibly inside the script)? At this moment I always see the same (sorted) sequence.

Thank you



matlabpool open X

where X is the number of cores you'd like to run your computation on.

Need Your Help

Any benefits from implementing CSA versus just using multiplication symbol when synthesizing?

verilog fpga hdl rtl asic

I am synthesizing some multiplication units in verilog and I was wondering if you generally get better results in terms of area/power savings if you implement your own CSA using booth encoding when

<algorithm> vector sort with objects?

c++ algorithm class sorting vector

So, in the c++ documentation in the header there is a nice function that lets you sort vectors. I have a class Person. I have a vector of pointers to objects of that class (vector&lt;Person*&gt;) ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.