我如何将我的fortran输出变成excel? [英] How do I get my fortran output into excel?

查看:322
本文介绍了我如何将我的fortran输出变成excel?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Fortran(95)中运行模型之后,我得到了一些结果数组(和一个结果矩阵)。我想把这些转移到excel中以进行报告。那么最简单的方法是什么?

解决方案

正如S. Lott在我之前所说,CSV格式可能是最好的选择,但是实际上Excel对于文件格式非常聪明。它通常可以使用标签分隔或空格分隔的数据,甚至HTML表格。尝试将数据复制并粘贴到Excel中,以查看是否可以将其数据输出,然后再担心格式的过多。


After running a model in fortran (95) I end up with some result arrays (and one result matrix). I'd like to move these into excel for reporting purposes. What's the easiest way to do this?

解决方案

As S. Lott said before me, CSV format is probably the best choice, but actually Excel is pretty clever about file formats. It will usually work with tab separated or space separated data, or even HTML tables. Try copy-and-pasting your data into Excel to see whether it can work it out, before worrying too much about the format.

这篇关于我如何将我的fortran输出变成excel?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆