Mex mxClassID not found

8 Ansichten (letzte 30 Tage)
Jeff
Jeff am 29 Jun. 2016
Kommentiert: Steven Lord am 29 Jun. 2016
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

Akzeptierte Antwort

Adam
Adam am 29 Jun. 2016
Bearbeitet: Adam am 29 Jun. 2016
You just spelt it wrong with a 'c' instead of an 'x'
mxCreateNumericMatrix
  2 Kommentare
Jeff
Jeff am 29 Jun. 2016
sure enough, thanks, and I copied that from an example
Steven Lord
Steven Lord am 29 Jun. 2016
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by