Error to run netcdf_load command on Matlab

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
agpc
Posts: 63
Joined: Mon Jul 27, 2020 7:44 pm
Location: Applied Geophysics Center (AGPC)

Error to run netcdf_load command on Matlab

#1 Unread post by agpc »

Dear all,
I'm the beginner of the coawst model and Matlab. I followed the coawst's user guide to create a roms grid, however when I opened matlab and typed the command below:

Code: Select all

netcdf_load('wrfinput_d01')

it reported:

Code: Select all

Unrecognized function or variable 'netcdf_load'"
Please help me to address this issue.
Thank all.

jcwarner
Posts: 1200
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: Error to run netcdf_load command on Matlab

#2 Unread post by jcwarner »

this is a matlab issue. You need to include the path(s) to all the mfiles so that matlab knows where those scripts are.
-j

Post Reply