Hi,
I need to create a c++ add-in to mathlab where add-in will listen to packet coming from network and notify mathlab to draw an packet analysis graph. I understood that using a MEX file I can easily call c functions inside mathlab, but I could not find a way to notify mathlab when data is available at c++ end. Is there any way we can pass a user-defined mathlab function pointer into my c++ add-in ?
btw, I found this thread real-time-data-in-matlab
Unfortunately suggestion is to use activeX control, but in my case, I need to create add-in in pure c++.
Thank you