Filter löschen
Filter löschen

Passing a MATLAB figure handle to a MEX file

1 Ansicht (letzte 30 Tage)
Wolfgang
Wolfgang am 13 Aug. 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

Antworten (0)

Kategorien

Mehr zu Call C++ from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by