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

Thread Subject:
CPU usage

Subject: CPU usage

From: Frank

Date: 21 Dec, 2012 09:27:07

Message: 1 of 5

Hello,

When I run matlab 8 with my quad core cpu, only 25% cpu is used. How can I force matlab using all the available cpu ?

Thanks.

Frank

Subject: CPU usage

From: TideMan

Date: 21 Dec, 2012 09:36:05

Message: 2 of 5

On Friday, December 21, 2012 10:27:07 PM UTC+13, Frank wrote:
> Hello,
>
>
>
> When I run matlab 8 with my quad core cpu, only 25% cpu is used. How can I force matlab using all the available cpu ?
>
>
>
> Thanks.
>
>
>
> Frank

Run 4 Matlabs.

Subject: CPU usage

From: Frank

Date: 21 Dec, 2012 10:24:08

Message: 3 of 5

How to collect the data from the 4 matlabs efficiently?
> Run 4 Matlabs.

Subject: CPU usage

From: Simon

Date: 21 Dec, 2012 11:51:06

Message: 4 of 5

> When I run matlab 8 with my quad core cpu, only 25% cpu is used. How can I force matlab using all the available cpu ?
>
> Thanks.
>
> Frank



Using Parallel Computing Toolbox, or MDCE toolbox.

Subject: CPU usage

From: TideMan

Date: 21 Dec, 2012 19:32:42

Message: 5 of 5

On Friday, December 21, 2012 11:24:08 PM UTC+13, Frank wrote:
> How to collect the data from the 4 matlabs efficiently?
>

This is the essence of parallelisation...........
One way is to write to .mat files using save, then, later, load all the data into a single Matlab for further processing.
This process is ideal for "embarrassingly parallel" problems like Monte Carlo modelling, but may not work for others.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us