How to convert .tam or .ascii file to .nc

6 次查看(过去 30 天)
Hi,
I have a file in .tam and .ascii, but I have to convert it to a .nc file and im not sure how to do that.
  2 个评论
Dyuman Joshi
Dyuman Joshi 2023-7-29
Do you mean .mat file?
Also, I assume .nc format you are talking about is the one used in CNC?
Madison
Madison 2023-7-29
No, the file is .tam and im trying to convert it to .mat or .nc

请先登录,再进行评论。

回答(1 个)

Cris LaPierre
Cris LaPierre 2023-7-29
编辑:Cris LaPierre 2023-7-29
I'm not aware of a way to convert the files in MATLAB. The solution, then, is to load the data from your file into variable(s) In MATLAB. You would then use nccreate and ncwrite to save the variables to an .nc file.

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

标签

产品


版本

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by