undefined function for drawellispe or drawcircle

1 次查看(过去 30 天)
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

回答(1 个)

Walter Roberson
Walter Roberson 2019-1-17
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!

Translated by