Hi,
The error message you are encountering seems to be a issue with linking libraries during the build process. Here are some steps to troubleshoot the issue:
- Make sure the MATLAB Compielr is correctly setup and configured properly. Run below command to check the setup and ensure the MinGW-w64 compiler is installed and selected.
mex -setup
- In error message, it says wrong usage of buildHelper. Refer the following documenation link to know the correct usage of buildHelper function in your code: https://www.mathworks.com/help/matlab/ref/clibgen.librarydefinition.build.html
- For more information on publishing a MATLAB Interface to a C++ Library, refer the following official documenation link: https://www.mathworks.com/help/matlab/matlab_external/steps-to-publish-a-matlab-interface-to-a-c-library.html
Hope it helps!
