new to mesh2D, error msg
이전 댓글 표시
my first time running mesh2d. I entered the four nodes of a square into "node". Seems innocuous enough. But get error msg below. Any ideas out there? I have the mesh2d folder under the matlab folder. I thought matlab would search the disk for the function if it did not find it at first. maybe syntax? TY John
>> node=[0,0;0,1;1,1;1,0]
node =
0 0
0 1
1 1
1 0
>> [p,t]=mesh2d(node)
??? Undefined function or method 'mesh2d' for input arguments of type 'double'.
답변 (1개)
Geoff Hayes
2014년 10월 9일
0 개 추천
John - mesh2d isn't a standard MATLAB function, and is a function that you can obtain from the MATLAB File Exchange. Try Darren Engwirda's mesh2d submission. Make sure you review the comments at this link as at least one indicates a problem with the function tsearch needing to be replaced with tsearchn (the code is provided in the comment so make sure you copy that over to your downloaded version).
댓글 수: 1
Jon Jon
2018년 3월 16일
would you like to help test ?
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!