Introduction to MATLAB Parallel Toolbox


Instructor: Marinus Pennings

Time: Friday, February 28, 1:30PM-4:00PM

Location: Zoom session only

Prerequisites: Basic MATLAB skills. Ada account

This short course will introduce the MATLAB parallel toolbox. Topics discussed include cluster profiles, parallel pools, parfor, spmd, distributed data, and GPU computing. We will also demonstrate how to run parallel MATLAB jobs on the HPRC clusters.

Course Materials

Additional Course Materials

  • MATLAB Parallel Toolbox Files: ZIP
  • Parallel MATLAB Live Script (Spring 2018): mlx file
  • Introduction to the MATLAB Parallel Toolbox Slides (Fall 2017): PDF


This course focuses, among others, on the following topics:

  • Automatic multi-threading in MATLAB
  • Cluster profiles, Workers, and parallel pools
  • Parallel Constructs
    • parfor
    • spmd
    • distributed
    • gpu
  • Running jobs on HPRC resources
    • Within MATLAB session
    • From command line using matlabsubmit
    • From external MATLAB session

Note: During the class sessions many aspects of the material will be illustrated live via a login to Ada. Attendees are welcome to follow these parts with their own laptops. They will need to configure their laptops to use the TAMULink wireless network. Relevant details on this can be found at:

You are encouraged to contact the HPRC helpdesk with any questions regarding Ada.