Main Content

Parallel Computing Fundamentals

Choose a parallel computing solution

Parallel computing can help you to solve big computing problems in different ways. MATLAB®并行计算工具箱™提供了一个交互式编程环境,以帮助解决您的计算任务。如果您的代码运行得太慢,则可以对其进行介绍,对其进行矢量化并使用内置的MATLAB并行计算支持。万博1manbetx然后,您可以尝试通过使用parforon multiple MATLAB workers in a parallel pool. If you have big data, you can scale up using distributed arrays or数据存储. You can also execute a task without waiting for it to complete, usingparfeval,以便您可以继续执行其他任务。您可以使用不同类型的硬件来解决并行计算问题,包括台式计算机,GPU,簇和云。

Functions

expand all

parfor 执行for-loop iterations in parallel on workers
parfeval Run function on parallel pool worker
gpuArray Array stored on GPU
distributed Access elements of distributed arrays from client
batch RunMATLABscript or function on worker
parpool Create parallel pool on cluster
ticBytes Start counting bytes transferred within parallel pool
tocBytes Read how many bytes have been transferred since callingticBytes

Topics

基础知识

Learn More

Related Information