DLL function needs byte size of a pointer as input argument.

2 ビュー (過去 30 日間)
Sami Al-Khayat
Sami Al-Khayat 2017 年 1 月 17 日
編集済み: Sami Al-Khayat 2017 年 1 月 17 日
So I am trying to use a DLL to control a traverse system (kind of similar to a CNC machine). I've contacted the manufacturer, but so far it seems like nobody there has tried conroling these types of machines with MATLAB before.
The problem I have is that most of the DLL functions I want to use take a pointer and an integer as input variables, but according to the documentation the integer is supposed to be a value that contains the byte size of the pointer. But if is use the MATLAB function whos to see what size a pointer has, the entry under Bytes remains blank.
here are some screenshots of the DLL functions and the documentation: http://imgur.com/a/MXhzk
Any help in relation to what could be meant with this value would be appreciated.

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by