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.

Risposte (1)

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

2 Commenti

Thanks. I'll try that.
You're welcome, but please Accept-click the answer if it does what you need.

Accedi per commentare.

Categorie

Scopri di più su Parallel Computing Toolbox in Centro assistenza e File Exchange

Prodotti

Release

R2018a

Richiesto:

il 9 Lug 2018

Commentato:

il 16 Lug 2018

Community Treasure Hunt

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

Start Hunting!

Translated by