https://kr.mathworks.com/help/matlab/ref/netcdf.defdim.html
netcdf.defDim - Create netCDF dimension - MATLAB
This MATLAB function creates a new dimension in the netCDF file specified by ncid, where dimname is a character vector or string scalar that specifies the name...
netcdfcreatedimensionmatlab