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

 Respuesta aceptada

Adam
Adam el 29 de Jun. de 2016
Editada: Adam el 29 de Jun. de 2016

0 votos

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

2 comentarios

Jeff
Jeff el 29 de Jun. de 2016
sure enough, thanks, and I copied that from an example
Steven Lord
Steven Lord el 29 de Jun. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 29 de Jun. de 2016

Comentada:

el 29 de Jun. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by