Why do I receive multiple compile-time errors that reference MATLAB header files while using the MEX command?
古いコメントを表示
I am trying to compile a MEX-file, and I receive errors from the C compiler as it runs through MATLAB header files such as mex.h. For example:
Error yprime.c: C:\Matlab701\extern\include\mex.h: 63 syntax error; found `mxArray' expecting `}'
Error yprime.c: C:\Matlab701\extern\include\mex.h: 63 skipping `mxArray' `*' `*' `variable'
Error yprime.c: C:\Matlab701\extern\include\mex.h: 64 unrecognized declaration
Error yprime.c: C:\Matlab701\extern\include\mex.h: 75 syntax error; found `mxFunctionPtr' expecting `}'
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!