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 | Profile Your Code to Improve Performance |
Vectorize your code. | MATLAB | Vectorization | |
Use automatic parallel computing support in bat365 products. | MATLAB Parallel Computing Toolbox | Run MATLAB Functions with Automatic Parallel Support | |
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 | Evaluate Functions in the Background Using parfeval |
Try spmd . | MATLAB Parallel Computing Toolbox | Run Single Programs on Multiple Data Sets | |
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) |
Related Topics
- Profile Your Code to Improve Performance
- Vectorization
- Built-in Parallel Computing Support
- Identify and Select a GPU Device
- Interactively Run Loops in Parallel Using parfor
- Evaluate Functions in the Background Using parfeval
- Run Single Programs on Multiple Data Sets
- Choose Between spmd, parfor, and parfeval
- Big Data Workflow Using Tall Arrays and Datastores
- Use Tall Arrays on a Parallel Pool
- Use Tall Arrays on a Spark Cluster
- Distributing Arrays to Parallel Workers
- Run Batch Parallel Jobs