There is a UndefinedFunction error,when I use 'addAttachedFiles(pool,files)'
Show older comments
Answers (1)
Shivam Lahoti
on 6 Mar 2025
0 votes
Hi,
I understand you're encountering an 'UndefinedFunction' error when using 'addAttachedFiles(pool,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
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!