Pass DWORD pointer by using 'calllib' to c function
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Call C from MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!