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

6 visualizaciones (últimos 30 días)
Madison
Madison el 29 de Jul. de 2023
Comentada: Madison el 29 de Jul. de 2023
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 comentarios
Dyuman Joshi
Dyuman Joshi el 29 de Jul. de 2023
Do you mean .mat file?
Also, I assume .nc format you are talking about is the one used in CNC?
Madison
Madison el 29 de Jul. de 2023
No, the file is .tam and im trying to convert it to .mat or .nc

Iniciar sesión para comentar.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 29 de Jul. de 2023
Editada: Cris LaPierre el 29 de Jul. de 2023
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.

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by