Skip to Main Content Skip to Search
Accelerating the pace of engineering and science

 

Getting Started with Parallel Computing Using MATLAB

This tutorial introduces MATLAB users to MathWorks parallel computing tools. Through code examples, users learn to run parallel MATLAB applications on multicore desktops or clusters.

Completion time: 1-2 hours

Required Products:         Parallel Computing Toolbox
MATLAB Release:            MATLAB 7.10 (R2010a)

 

1. Product Landscape 2:45
Use parallel computing tools on a multicore computer or a cluster of computers.

 

2. Prerequisites 2:02
Review hardware and product requirements for running the parallel programs demonstrated in this tutorial.

 

3. Quick Success Example 6:13
Speed up a simple program using a parallel for-loop.
Download associated code files

 

4. Parallel Computing Concepts 5:20
Review the concepts required to write and run parallel MATLAB programs.

 

5. What To Use: parfor or Jobs and Tasks? 3:21
Select the programming construct that is best suited for running your program in parallel.

 

6. Using parfor Loops 6:16
Use parfor-loops to run programs in parallel. Apply techniques to obtain maximum speedup.
Download associated code files

 

7. Working with Jobs and Tasks 9:50
Run programs in parallel using jobs and tasks. Obtain speedup and avoid common programming pitfalls.
Download associated code files

 

8. Working with Schedulers 5:13
Increase speedup further using schedulers to run parallel programs on clusters of computers.

Contact sales
Free technical kit
Trial software