Undefined function or variable 'drawellipse'

I was trying to apply 'h = drawellipse('Center',[1000,1000],'SemiAxes',[500,250],'StripeColor','r');'
the same as the example in the link below. However, the matlab keeps saying that 'Undefined function or variable 'drawellipse'. I am using Matlab R2018a. Anyone knows why?
https://www.mathworks.com/help/images/ref/drawellipse.html
Thanks

 Réponse acceptée

Matt J
Matt J le 20 Fév 2019
Modifié(e) : Matt J le 20 Fév 2019

1 vote

drawellipse wasn't introduced until R2018b.

1 commentaire

Shirley
Shirley le 20 Fév 2019
Thanks Matt. I just figured out that it should be 'imellipse'

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Produits

Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by