Matlab + C/C++ Development in Eclipse, invalid arguments?
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello!
My setup works just fine - all headers and libs included, all types are found - built already my first binaries with mex (also compiled within Eclipse. One special method call however (although everything compiles and works as expected), Eclipse presents a tooltip, stating:
Invalid arguments '
Candidates are:
mxArray_tag * mxCreateDoubleMatrix_730(?, ?, enum {matrix.h:7366})
'
What can I possibly do to fix this? This makes no sense to me...
댓글 수: 0
답변 (1개)
Kaustubha Govind
2011년 12월 7일
The error message is from Eclipse, and not clear. What you could try is to first use the mex command in MATLAB itself using the -v (verbose flag) to see the exact compiler command that is being used (of course, you need to install a supported compiler and run "mex -setup" first). Then, compare this to what your Eclipse IDE is using. Comparing the two should help you figure out any missing options.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!