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 件)

Matt J
Matt J 2018 年 7 月 9 日

0 投票

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

2 件のコメント

isccha
isccha 2018 年 7 月 16 日
Thanks. I'll try that.
Matt J
Matt J 2018 年 7 月 16 日
You're welcome, but please Accept-click the answer if it does what you need.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeParallel 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