Why do I get a "could not find MATLAB function" error message when creating a shared library using MATLAB Compiler 4.11 (R2009b)?
Show older comments
All the MATLAB functions which are used to create a shared library are in the path below:
C:\matlabFiles\@matlabFiles
I compile the MATLAB files in the path above to create a C++ shared library with the command below:
mcc -W cpplib:libmatrixp -T link:lib addmatrix.m multiplymatrix.m eigmatrix.m -v
Issuing the above command on MATLAB command prompt gives the following error message:
Compiler version: 4.11 (R2009b)
Processing include files...
2 item(s) added.
Processing directories installed with MCR...
The file mccExcludedFiles.log contains a list of functions excluded from the CTF archive.
2 item(s) added.
Generating MATLAB path for the compiled application...
Created 40 path items.
Begin validation of MEX files: Wed Oct 07 00:26:05 2009
End validation of MEX files: Wed Oct 07 00:26:05 2009
Could not find the MATLAB function 'addmatrix.m' on the MATLAB path.
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Compiler 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!