Unable to cast MWCellArray to System.Object[,]
Ältere Kommentare anzeigen
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!
Antworten (0)
Kategorien
Mehr zu Deploy to .NET Applications Using MWArray API finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!