ROI object property "does not exist"?

조회 수: 4 (최근 30일)
Veena Chatti
Veena Chatti 2020년 3월 10일
댓글: Veena Chatti 2020년 3월 18일
Hi all,
I've been creating ROIs using specific coordinates in images, and strangely I see that when I click on the ROI object in the workspace (1x1 Circle) and click on its properties (ex. Radius) there's just a message saying "The variable w.Radius does not exist".
When I call the property in the workspace with a w.Radius command, I get the message:
Invalid or deleted object. Error in images.roi.Circle/get.Radius
What's going on? I get the same message for other properties of the ROI, including Center, which is totally weird, because I actually gave it the coordinates in which it was supposed to position the center of the circle, which it did accurately (looking at the image).
Thanks for sharing your tips and expertise!
Best,
Veena
  댓글 수: 2
Turlough Hughes
Turlough Hughes 2020년 3월 11일
One can only be guess without seeing the code you used to end up with that error. Can you provide the code you've used so far or something representative of the steps your code implements?
Veena Chatti
Veena Chatti 2020년 3월 18일
Hi Turlough,
Sorry for my late response to your answer- I realized that the ROI object would only be accessible as long as I had the figure open.
Best,
Veena

댓글을 달려면 로그인하십시오.

답변 (0개)

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by