Undefined function 'wlgrid' for input arguments of type 'char'.

조회 수: 4 (최근 30일)
Joyce Tentij
Joyce Tentij 2015년 2월 19일
댓글: Titus Edelhofer 2015년 2월 19일
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.

채택된 답변

Titus Edelhofer
Titus Edelhofer 2015년 2월 19일
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
  댓글 수: 2
Joyce Tentij
Joyce Tentij 2015년 2월 19일
I already came across this user manual. It states:
GRID = wlgrid(`read', FILENAME) returns a structure with X, Y, and Enclosure fields.
But stil I get the same error
Titus Edelhofer
Titus Edelhofer 2015년 2월 19일
You have to download the code from that site...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by