How to acces lib.pointer in C++ Mex Files
Hello everyone,
I want to access lib.pointer within a mexFile using Matlab’s C++ API. The pointer is transported as matlab::data::ArrayType::HANDLE_OBJECT_REF, but I don’t know how to access the values within this structure. I want to convert this to a void pointer later. The lib.pointer contains a handle to a device and I am using this to communicate with the device via a separate API.
Hopefully someone can help me further.
Thank you in advance.Hello everyone,
I want to access lib.pointer within a mexFile using Matlab’s C++ API. The pointer is transported as matlab::data::ArrayType::HANDLE_OBJECT_REF, but I don’t know how to access the values within this structure. I want to convert this to a void pointer later. The lib.pointer contains a handle to a device and I am using this to communicate with the device via a separate API.
Hopefully someone can help me further.
Thank you in advance. Hello everyone,
I want to access lib.pointer within a mexFile using Matlab’s C++ API. The pointer is transported as matlab::data::ArrayType::HANDLE_OBJECT_REF, but I don’t know how to access the values within this structure. I want to convert this to a void pointer later. The lib.pointer contains a handle to a device and I am using this to communicate with the device via a separate API.
Hopefully someone can help me further.
Thank you in advance. dll, c++, api, mex MATLAB Answers — New Questions