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!

답변 (0개)

카테고리

도움말 센터File Exchange에서 Deploy to .NET Applications Using MWArray API에 대해 자세히 알아보기

질문:

2012년 9월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by