'perimeter' function giving error
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
0 commentaires
Réponse acceptée
Steven Lord
le 5 Juin 2018
You've created a variable named perimeter. Rename or delete that variable.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Elementary Polygons dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!