mwArrays causing a compiler error using C++ builder (but only with a 64 bit target platform)

2 views (last 30 days)
Hi all,
I'm having an issue trying to use mwArrays (2013B) with C++ builder (Rad Studio Xe7). The following code snippet:
mwArray matlab_matrix(3,3,mxDOUBLE_CLASS);
double value = matlab_matrix(1,1);
compiles with a 32 bit compilation target, but causes an "internal compiler error" with a 64 bit compilation target. I'm pretty sure I'll need the 64 bit target to link against Matlab's 64 bit dlls.
Its safe to say I'm way out of my depth on howt this happens, so any comments, causes, idea, or workarounds would be much appreciated,
Cheers,
Andrew

Answers (0)

Community Treasure Hunt

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

Start Hunting!