Mex mxClassID not found

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 个评论

sure enough, thanks, and I copied that from an example
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) 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by