Why do I get a "could not find MATLAB function" error message when creating a shared library using MATLAB Compiler 4.11 (R2009b)?
이전 댓글 표시
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.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!