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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |