choose a parallel computing solution
process your data faster or scale up your big data computation using the capabilities of matlab®, parallel computing toolbox™ and matlab parallel server™.
problem | solutions | required products | more information |
---|---|---|---|
do you want to process your data faster? | profile your code. | matlab | |
vectorize your code. | matlab | ||
use automatic parallel computing support in mathworks products. | matlab parallel computing toolbox | ||
if you have a gpu, try gpuarray . | matlab parallel computing toolbox | run matlab functions on a gpu | |
use parfor . | matlab parallel computing toolbox | interactively run loops in parallel using parfor | |
do you want to speed up simulations? | use parsim . | simulink® parallel computing toolbox | running multiple simulations (simulink) |
are you looking for other ways to speed up your processing? | try parfeval . | matlab parallel computing toolbox | |
try spmd . | matlab parallel computing toolbox | ||
do you want to scale up your big data calculation? | to work with out-of-memory data with any number of rows, use tall arrays. this workflow is well suited to data analytics and machine learning. | matlab | |
use tall arrays in parallel on your local machine. | matlab parallel computing toolbox | ||
use tall arrays in parallel on your cluster. | matlab parallel computing toolbox matlab parallel server | ||
if your data is large in multiple dimensions, use this workflow is well suited to linear algebra problems. | matlab parallel computing toolbox matlab parallel server | run matlab functions with distributed arrays | |
do you want to offload to a cluster? | use batch to run your code on clusters
and clouds. | matlab parallel server | run batch parallel jobs |
use batchsim to run your simulations on clusters
and clouds. | simulink matlab parallel server | running multiple simulations (simulink) |