I get a mex error with
mxArray *tmp;
tmp = mxCreateNumericMatric((mwSize) 1,(mwSize) 1,mxUINT64_CLASS, mxREAL);
e:\mex\testread.cpp(90) : error C3861: 'mxCreateNumericMatric': identifier not found

 채택된 답변

Adam
Adam 2016년 6월 29일
편집: Adam 2016년 6월 29일

0 개 추천

You just spelt it wrong with a 'c' instead of an 'x'
mxCreateNumericMatrix

댓글 수: 2

Jeff
Jeff 2016년 6월 29일
sure enough, thanks, and I copied that from an example
Steven Lord
Steven Lord 2016년 6월 29일
If it's an example on a MathWorks documentation page, can you please click the "No" next to "Was this topic helpful?" at the bottom of the page and mention the typo in your feedback? That way the documentation staff will be notified and can make sure to fix it.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

태그

질문:

2016년 6월 29일

댓글:

2016년 6월 29일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by