필터 지우기
필터 지우기

'perimeter' function giving error

조회 수: 1 (최근 30일)
Carolyn
Carolyn 2018년 6월 5일
댓글: Carolyn 2018년 6월 5일
I am getting an error when I run the example code for 'perimeter(polyin)'.
Here is the example code I open in matlab: openExample('matlab/PerimeterofPolygonExample')
I get the error: Function 'subsindex' is not defined for values of class 'polyshape'.
Anyone know why? Is there a toolbox I need to download to use this?

채택된 답변

Steven Lord
Steven Lord 2018년 6월 5일
You've created a variable named perimeter. Rename or delete that variable.
  댓글 수: 1
Carolyn
Carolyn 2018년 6월 5일
Oops! Didn't notice that. Thanks!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Elementary Polygons에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by