MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   将数组数据从MATLAB导出到C# (https://www.labfans.com/bbs/showthread.php?t=26188)

poster 2019-12-14 20:13

将数组数据从MATLAB导出到C#
 
是否可以将数组从MATLAB直接导出到C#,而无需在C#中复制和粘贴值?

谢谢



[B]回答:[/B]

MATLAB具有COM自动化接口,可让您从.NET程序中以编程方式控制MATLAB实例,并具有名为PutFullMatrix和GetFullMatrix的函数,这些函数有助于将矩阵从C#传输到MATLAB,反之亦然。有关详细信息,请参见MATLAB手册的“外部接口”部分。

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



[url=https://stackoverflow.com/questions/4727990]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 23:13

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.