Saving MATLAB Workspace to NetCDF File
3 次查看(过去 30 天)
显示 更早的评论
Hi,
Is there a simple command to save your MATLAB workspace (all variables, arrays, etc) to a NetCDF file? For example, something as simple as " save('workspace',-netcdf) " , or something similar.
Then, I want to be able to open this NetCDF file in a different programming environment which supports NetCDF, and be able to access the variables and arrays. I'm either looking for a direct "save-as-netcdf" command, or a ".mat-to-netcdf" conversion script.
Any help is appreciated, thanks!
1 个评论
Walter Roberson
2011-12-21
This would be somewhat tricky for objects and handles and inline functions and symbolic expressions and function handles.
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 NetCDF 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!