Netcdf Toolkit - netcdf.inqUserType
[typename, bytesize, basetypeid, numfields, classid] =netcdf.inqUserType(ncid,typeid)Provide information on a user defined type typeid in the dataset ncid.
The function returns the typename, bytesize, base type id, number of fields and class identifier of the type.