存储多个.NET阵列(Matlab) [英] Storing Multiple .NET Arrays (Matlab)
本文介绍了存储多个.NET阵列(Matlab)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将.NET数组存储在矩阵中而不将其转换为另一种数据类型?
How can I store .NET arrays in a matrix without converting them to another data type?
如果我有
A = NET.createArray('System.Int16', n);
B = NET.createArray('System.Int16', n);
如何将它们存储在相同的矩阵中,而无需先将它们转换为其他数据类型,例如double
或int16
等
How to do I store these in the same matrix without first converting them to another data type such as double
or int16
etc
所以我可以通过以下方式访问它们
So I can access them by
data(1) outputs A
data(2) outputs B
查看全文