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.

Antworten (1)

Matt J
Matt J am 9 Jul. 2018

0 Stimmen

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

2 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Parallel Computing Toolbox finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2018a

Gefragt:

am 9 Jul. 2018

Kommentiert:

am 16 Jul. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by