C#调用Matlab函数输出结果时,得到一个表示数组object结果,怎么把这个object类型转换成数组。
问题相关代码,请勿粘贴截图
System.InvalidCastException
HResult=0x80004002
Message=Unable to cast object of type 'System.Object[]' to type 'System.Double[,]'.
Source=test
StackTrace:
at test.Program.Main(String[] args) in D:\备份\Visual Studio\Rob_WPF_2022\test\test\Program.cs:line 29