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일

0 개 추천

You've created a variable named perimeter. Rename or delete that variable.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Elementary Polygons에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2018년 6월 5일

댓글:

2018년 6월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by