フィルターのクリア

'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 Center および File ExchangeElementary Polygons についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by