writetonc.m

Write variables to a standard netCDF format
209 Downloads
Updated 22 Jul 2014

View License

Although this function sets limits on the versatility of the netCDF file format, it allows for a quick way to save matlab variables to .nc files. Simply pass cell-structures with the logically-organized necessary data and information. The examples should be intuitive and should provide a basic understanding of how the function is used.
This function was written for data common to the atmospheric sciences. It should, however, be relatively straightforward to edit (if necessary) the function for use in other fields.

Cite As

Michael Goss (2024). writetonc.m (https://www.mathworks.com/matlabcentral/fileexchange/47316-writetonc-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0