Pass DWORD pointer by using 'calllib' to c function
古いコメントを表示
hi,
I'm trying to pass values by using 'calllib' to c function.
The input of the function is a dword pointer,how can i create dword pointer?
p.s I can't change the dll, the code must be on the matlab side.
c:
Counter(DWORD* Packets)
matlab:
my_pointer= libpointer('______'); % here is the question
calllib('c_dll','Counter',my_pointer)
TNX
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Call C from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!