From: kees de Kapper on
Hi All,

one of the functions in a dll requests a callback function. I made a transcription of the c++ example in matlab. But using the @ to make a function_handle doesn't work.

calllib('XISLDLL','Acquisition_SetCallbacksAndMessages', ...
phAcqDesc.value, uint32(0), 0,...
0, @OnEndFrame_Callback, @OnEndAcq_Callback);

function OnEndFrame_Callback(phAcqDesc)
~~~~~
~~~~~
~~~~~

function OnEndAcq_Callback(phAcqDesc)
~~~~~
~~~~~
~~~~~

How should I do this? Anyone a suggestion?

Thanx in advance,
Kees