MATLAB: How can i create a NetCDF file

netcdf

I'm trying to create a NetCDF file using netcdf.create ou nccreate but i'm not getting.
When i try to use netcdf.create:
>> netcdf.create('file','netcdf4'); ??? Error using ==> netcdflib Unrecognized operation: "NETCDF4"
Error in ==> getConstant at 28 param = netcdflib('parameter', param_name);
Error in ==> create at 45 mode = netcdf.getConstant(mode);
If you can help me i will be greatfull. Thanks.

Best Answer

Felipe, Consider starting with the example in the nccreate doc page (Towards the bottom). You can start to build on this example.
Post back if you run into specific issues.