开发者

Export array data from MATLAB to C#

is it possible to export an array from MATLAB to C# directly, without the need to copying and pasting the value in C#?

T开发者_JAVA技巧hanks


MATLAB has a COM automation interface that will let you control an instance of MATLAB programmatically from a .NET program and has functions named PutFullMatrix and GetFullMatrix that facilitate transferring a matrix from C# to MATLAB or vice versa. See the External Interfaces section of the MATLAB manual for details.

http://www.mathworks.com/help/techdoc/matlab_external/f135590.html#f135616


I would just save the array to a text file in MATLAB and read in the text file from C#.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜