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.

Réponses (1)

Matt J
Matt J le 9 Juil 2018
You could use parfeval to make multiple parallel calls to mex().

2 commentaires

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Parallel Computing Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2018a

Question posée :

le 9 Juil 2018

Commenté :

le 16 Juil 2018

Community Treasure Hunt

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

Start Hunting!

Translated by