Prev: Differential equation use (ODE)
Next: Problem to choose weighting function in Robust Control/H infinity
From: kees de Kapper on 29 Jun 2010 05:21 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 |