I'm trying to learn how to access data in a System.Object. There's a Visual Studio 2015 c# .net application which calls a Matlab function using the following code:
object result = null;
matlab.Feval("matlabTest", 1, out result);
If I hover over the variable result
when debugging it shows up as result|{object[1]}
. If I slide down to further expand result
it shows up as [0]:{object[53,13]}
. Then when sliding down further I can see the two dimensional array of strings and doubles. So, the debugger can see and display the valid data in "result" but I have no idea how to access the strings and doubles at runtime. Any suggestions would be appreciated.
Aucun commentaire:
Enregistrer un commentaire