Error with Measure Distances in an Image

3 views (last 30 days)
Hi!
I was using the code presenting in this documentation https://www.mathworks.com/help/images/measure-distances-in-images.html and I get an error in the first line of the startDrawing function. The error is: Undefined variable "images" or class "images.roi.Line".
Why this is happening?
Thanks!
  4 Comments
Soohyeon Shin
Soohyeon Shin on 31 May 2021
It will be solved if you install the 'image processing toolbox' :)

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 7 Aug 2020
images.roi.Line needs at least R2018b I believe.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!