Unable to cast MWCellArray to System.Object[,]

Hi,
I am using .NET Assembly Native Dll (generated by Builder NE) with 64 bit Matlab 2012. The problem is that my .net application is unable to cast MWCellArray which gets returned from matlab. Because I am using native assembly, my application is expecting to get 'System.Object[,]' and not MWCellArray. The same application works fine with 32 bit Matlab 2012. Any ideas why I am running into this problem? The actual error message is below....
Unable to cast object of type 'MathWorks.MATLAB.NET.Arrays.native.MWCellArray' to type 'System.Object[,]'
Thank you in advance!

Respuestas (0)

Categorías

Preguntada:

el 13 de Sept. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by