Here I post another problem I met. I did not find answers on the forum. Does anyone could help? Does anyone ever met this problem?~Thank you.
>> seagrid2roms('seagrid.mat', 'SCS-grid.nc');
## SeaGrid Source File : seagrid.mat
## ROMS Destination File: SCS-grid.nc
## Defining Global Attributes...
??? Undefined function or method 'name' for input arguments of type 'double'.
Error in ==> seagrid2roms at 151
name(nc.CPP_options, 'CPP-options')
>> which name
/usr/matlab/toolbox/matlib/netcdf7/netcdf/@ncitem/name.m % ncitem method