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

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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

제품

릴리스

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