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.

Answers (1)

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

2 Comments

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

Sign in to comment.

Categories

Find more on Parallel Computing Toolbox in Help Center and File Exchange

Products

Release

R2018a

Asked:

on 9 Jul 2018

Commented:

on 16 Jul 2018

Community Treasure Hunt

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

Start Hunting!