When I use the matlab code "otps2frc_v3.m" to generate the nc file of tidal forcing, some mistake occurs. I am so confused .Please help me!
The OS of my computer is Suselinux 10.1, the matlab R14(sp2) and the netcdf for it are installed.
-----------------------------------------------------------------
??? Error using ==> nc_isvar>determine_retrieval_method
Neither MATLAB, MEXNC, nor JAVA is available to retrieve data from your netcdf-3 file.
Error in ==> nc_isvar at 33
nc_method = determine_retrieval_method(ncfile);
Error in ==> roms_get_grid at 58
if nc_isvar(grd_file,'x_rho')
Error in ==> otps2frc_v3 at 128
rg = roms_get_grid( gfile );
Error in ==> untitled1 at 5
otps2frc_v3(gfile,t,tpred,'output.nc','DATA/Model_tpxo7.2')