MATLAB: Undefined function ‘wlgrid’ for input arguments of type ‘char’.

.grdchardata importgridimport gridr2014atype charundefined functionwl gridwlgrid

The code I encounter problems with is: (i want to import the scheveningen.grd file
outputwlgrid = wlgrid('read','scheveningen.grd');
The error I get from Matlab says:
Undefined function 'wlgrid' for input arguments of type 'char'.
I have used this code on anoter computer without undergoing any problems but on other computers it doesn't seem to work. I use Matlab R2014a. Does it have to do with licenses? Can anyone help me with this error? It says somehing about a type 'char'. This is not to be found somewhere else in the script.

Best Answer

googling "wlgrid MATLAB" points you to http://content.oss.deltares.nl/delft3d/manuals/Delft3D-MATLAB_User_Manual.pdf. You will need to get the code from there ...
Titus