Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

What are the differences between netcdf format in Matlab versions 2011a and 2012a?

Asked by Rich

Rich (view profile)

on 21 Nov 2012


I am writing netcdf files using he nccreate and ncwrite calls. I have noticed that 'identical' netcdf files (containing one 2 dimensional variable) written with Matlab versions 2011a and 2012a differ. The 2012a netcdf file was almost twice as large. Furthermore, only the 2011a version was readable by a colleague using their netcdf reader (sorry, I don't know the version of the netcdf library that they are using).

I cannot find any specification in the Matlab documentation of the netcdf library used in 2011a or 2012a. Can anyone provide information about possible differences between the two versions?




per isakson

per isakson (view profile)

on 21 Nov 2012

Did you try to inspect the files with ncdisp?

Ashish Uthama

Ashish Uthama (view profile)

on 4 Jan 2013

Use netcdf.inqLibVers on both versions.


Rich (view profile)



0 Answers

Contact us