Accelerating and Parallelizing MATLAB Code

This two-day course covers a variety of techniques for making your MATLAB® code run faster. You will identify and remove computational bottle-necks using techniques like preallocation and vectorization. In addition, you will compile MATLAB code into MEX-files using MATLAB Coder. On top of that, you will take advantage of multiple cores on your computer by parallelizing for-loops with Parallel Computing Toolbox, and scale up across multiple computers using MATLAB Parallel Server. Interplay between those concepts will be explored throughout the course. If you are working with long-running simulations, you will benefit from the hands-on demonstrations and exercises in the course. Topics include:

  • Improving performance within core MATLAB
  • Generating MEX-files
  • Parallelizing computations
  • Offloading execution
  • Working with clusters
  • GPU computing


MATLAB Fundamentals, or equivalent experience using MATLAB

See detailed course outline