Borrar filtros
Borrar filtros

'perimeter' function giving error

1 visualización (últimos 30 días)
Carolyn
Carolyn el 5 de Jun. de 2018
Comentada: Carolyn el 5 de Jun. de 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?

Respuesta aceptada

Steven Lord
Steven Lord el 5 de Jun. de 2018
You've created a variable named perimeter. Rename or delete that variable.
  1 comentario
Carolyn
Carolyn el 5 de Jun. de 2018
Oops! Didn't notice that. Thanks!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Elementary Polygons en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by