Create array data type object
array_type_id = H5T.array_create(base_id,h5_dims)
array_type_id = H5T.array_create(base_id,rank,h5_dims,perms)
array_type_id = H5T.array_create(base_id,h5_dims)
creates
a new array data type object. This interface corresponds to the 1.8
library version of H5Tarray_create
.
array_type_id = H5T.array_create(base_id,rank,h5_dims,perms)
creates
a new array data type object. This interface corresponds to the 1.6
library version of H5Tarray_create
. The perms
parameter
is not used at this time and can be omitted.
Note:
The HDF5 library uses C-style ordering for multidimensional
arrays, while MATLAB® uses FORTRAN-style ordering. The |
Create a 100-by-200 double precision array data type.
base_type_id = H5T.copy('H5T_NATIVE_DOUBLE');
dims = [100 200];
h5_dims = fliplr(dims);
array_type = H5T.array_create(base_type_id,h5_dims);