How to take advantage of computer?
1 view (last 30 days)
Show older comments
Ben Sheard
on 12 Sep 2017
Commented: Ben Sheard
on 13 Sep 2017
I'm using a HP Z840 workstation, it's a bit of a beast with two processors (E5-2643) and 128GB RAM. Is there anyway to speed up Matlab processes with this? Or does matlab just run as fast as it can? I'm aware the RAM lets me run larger arrays but is there anything else I can do? Or is it all done by default?
2 Comments
Cedric
on 12 Sep 2017
In your command window, type
ver
and check out if you have the parallel toolbox. It will be an entry like
Parallel Computing Toolbox Version X.Y (R201RR)
If so, it would be worth investing a little time studying what this toolbox offers (explicit parallelism), as mentioned by Edric below.
Accepted Answer
Walter Roberson
on 12 Sep 2017
MATLAB runs as fast as it can. MATLAB will automatically use parallel computing for sufficiently large mathematical calculations that match some patterns.
Sometimes it helps to explicitly code parallel programs using parfor or spmd or similar. Not as often as you might guess at first, though: the communication overhead can make it slower.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!