Azzera filtri
Azzera filtri

'perimeter' function giving error

1 visualizzazione (ultimi 30 giorni)
Carolyn
Carolyn il 5 Giu 2018
Commentato: Carolyn il 5 Giu 2018
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?

Risposta accettata

Steven Lord
Steven Lord il 5 Giu 2018
You've created a variable named perimeter. Rename or delete that variable.

Più risposte (0)

Categorie

Scopri di più su Elementary Polygons in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by