https://www.mathworks.com/help/matlab/ref/netcdf.inqformat.html
netcdf.inqFormat - Determine format of netCDF file - MATLAB
This MATLAB function returns the format for the file specified by netCDF file identifier, ncid.
netcdfdetermineformatfilematlab