There is a UndefinedFunction error,when I use 'addAttach​edFiles(po​ol,files)'

Answers (1)

Hi,
I understand you're encountering an 'UndefinedFunction' error when using 'addAttach​edFiles(po​ol,files)' file on MATLAB Parallel Cloud. This issue typically arises because the cloud workers are unable to find the required files. The MATLAB Parallel Cloud is Linux-based, which means it requires Linux-based MEX files.
If you're using a Windows-based MEX file (mexw64), it will not be compatible. You will need to create the MEX file on a Linux machine and then send it to the workers using the "addAttachedFiles" function.
I hope this resolves the issue.

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Release

R2018a

Asked:

on 1 Sep 2021

Answered:

on 6 Mar 2025

Community Treasure Hunt

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

Start Hunting!