Passing a MATLAB figure handle to a MEX file

3 visualizaciones (últimos 30 días)
Wolfgang
Wolfgang el 13 de Ag. de 2014
Hi everbody!
Is it possible to pass a MATLAB figure handle like here
h=figure();
to a MEX file. Or can such a handle only be used in "real" MATLAB? (I don't know how to express it better) I'm trying to pass the handle in the MEX file to this C function:
INT is_RenderBitmap (HIDS hCam, INT nMemID, HWND hwnd, INT nMode)
It needs a window handle as output destination for the image memory. I'm not sure if this will work at all but - if possible - I want to avoid using a window in "pure" C/C++. I already tried a lot but so far wasn't able to get it running.
Does anybody have any ideas, suggestions, examples?
Thanks a lot in advance!
Wolfgang

Respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by