Txt file to NetCDF file
3 views (last 30 days)
Show older comments
How can i turn a txt file into a nc file in MatLab ?
0 Comments
Accepted Answer
More Answers (1)
Felipe
on 9 Jun 2014
1 Comment
Kelly Kearney
on 9 Jun 2014
Before you can write a variable to a netcdf file, you need to first set up the netcdf file with the proper variable names, dimensions, etc. via nccreate.
Exactly what those variable names and dimensions will be depend on the data in your text file, which you haven't yet described. Perhaps if you give us some more info we can help you with the syntax.
See Also
Categories
Find more on NetCDF in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!