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

6 views (last 30 days)

Answers (1)

Shivam Lahoti
Shivam Lahoti on 6 Mar 2025
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

Community Treasure Hunt

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

Start Hunting!