How to read in Matlab a C# DataTable ?
Show older comments
I would like to read a C# System.Data.DataTable with Matlab R2013b.
I converted it (in C#) to a 2D string[,], but I don't know how to use it in Matlab. Matlab can tell me the object I retrieved is : String[,] with properties: [...], but no more.
What I did in Matlab :
NET.addAssembly('MyLib');
import MyLib.*;
a = MyCsharpFunction()
String[,] with properties:
Length: 1044
LongLength: 1044
Rank: 2
SyncRoot: [1x1 System.String[,]]
IsReadOnly: 0
IsFixedSize: 1
IsSynchronized: 0
I have seen on the web many references to the matlab objects such as mwArray, but I can't find the dll to use it in C#.
Can you help me ? Thanks
Matlab R2013b
Answers (0)
Categories
Find more on .NET Client Programming in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!