Unable to cast MWCellArray to System.Object[,]
Mostrar comentarios más antiguos
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
Más información sobre Deploy to .NET Applications Using MWArray API en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!