undefined function for drawellispe or drawcircle

1 view (last 30 days)
Hello , I tried to draw either and ellispe of a circle in my image in order to creat a mask but i got an error which is ( Undefined function or variable 'drawEllipse'.
) also for drawcircle i recive the same error , I'm using matlab 2018 ... is there any function instead of these two ??
Best regards

Answers (1)

Walter Roberson
Walter Roberson on 17 Jan 2019
drawellipse (note all lowercase) https://www.mathworks.com/help/images/ref/drawellipse.html is new as of R2018b.
drawcircle (note all lowercase) https://www.mathworks.com/help/images/ref/drawcircle.html is new as of R2018b.

Community Treasure Hunt

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

Start Hunting!