Warning loadline: Data type ULONG,UCHAR,... unknown which are used in h-file

1 回表示 (過去 30 日間)
Hello everyone,
I'm trying to load a shared library, called Gen3.dll, into MATLAB. The corresponding header file is gives some warnings:
" Type 'ULONG' was not found. Defaulting to type error." The corresponding line was: typedef struct{ ulong ulValidData;...}
Sam error appears for uchar and ushort.
How do I resolve this issue? (Note, I have not developped the dll nor the header, so my resources are somewhat limited...)

採用された回答

Benjamin Schwabe
Benjamin Schwabe 2012 年 1 月 30 日
I found that these are the declarations used in C++, but the correct syntax in C is unsigned long, etc.
That resolved the warning.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCall MATLAB from C についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by