Speed up a mexFunction compilation - Parallel Computing Toolbox

Hello. I was wondering if it is possible to speed up the compilation of a mexFunction written in C, using the Parallel Computing Toolbox. I have several C functions and I am using 'mex' to compile them. I know I can use 'parfor' in my Matlab environment and call my MEX functions (already compiled), but I would like to speed up the compilation process (using something like 'parfor' inside my mexFunction written in C).
Thanks in advance.

回答(1 个)

You could use parfeval to make multiple parallel calls to mex().

2 个评论

You're welcome, but please Accept-click the answer if it does what you need.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Parallel Computing Toolbox 的更多信息

产品

版本

R2018a

提问:

2018-7-9

评论:

2018-7-16

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by