Mex mxClassID not found

1 回表示 (過去 30 日間)
Jeff
Jeff 2016 年 6 月 29 日
コメント済み: Steven Lord 2016 年 6 月 29 日
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 日
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 件)

カテゴリ

Help Center および File ExchangeWrite 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