I'm working a mex solution that is structured like this:
I have a C# reader A, which is called by a C++/CLI project B, which is called by a mex project C, which is called from matlab. This is not my code, just something I'm supposed to get running.
B contains two functions that I can't access, first, the constructor: B::B(mxArray* data)
second, a regular function: mxArray* B::toMatlab(bool mode)
I tried replacing the mxArray* argument to the constructor with an int, which made the error go away, and similarly with the other function, so it seems like the function itself is accessible, but for some reason, I'm not allowed to use the type mxArray* as an argument.
I prefer not to include too many details about my code, but if there is anything that is relevant that I left out, please tell.