简体   繁体   English

如何将一个数字矩阵导出到Microsoft®Excel®电子表格文件?

[英]How to export an ilnumerics matrix to a Microsoft® Excel® spreadsheet file?

In c#, how can I export Ilnumerics matrix to an XLS? 在C#中,如何将数字矩阵导出到XLS?

With MatLab I use Data Import and Export functions to read and write data in spreadsheets or comma-separated value (CSV) files but I found nothing with Ilnumerics library. 使用MatLab,我使用数据导入和导出功能来读取和写入电子表格或逗号分隔值(CSV)文件中的数据,但是在Ilnumerics库中什么也没找到。

There is currently no special support for interfacing Office formats. 当前没有接口Office格式的特殊支持。 We are working on an Office Plugin for one of the next (major) releases. 我们正在为下一个(主要)发行版开发Office插件。

In the meantime, you should stick to one of the many available (free and non-free) Excel libraries. 同时,您应该使用众多可用(免费和非免费)Excel库之一。 See this post for one example. 看到这个职位的一个例子。 On the ILNumerics side, you can fill the tables by iteratively walking your ILArrays and copying the elements over. 在ILNumerics方面,您可以通过迭代遍历ILArrays并复制元素来填充表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM