Error using function "drawassisted"

조회 수: 3 (최근 30일)
xi
xi 2019년 10월 7일
댓글: xi 2019년 10월 11일
I copy and paste the example code below and got errors when testing drawassisted. Any ideas?
im = imread('peppers.png');
imshow(im)
h = drawassisted;
------------------------------------
Dot indexing is not supported for variables of this type.
Error in rescale
Error in images.roi.AssistedFreehand.recomputeAssistance
Error in images.roi.AssistedFreehand.prepareForAssistedFreehand
Error in images.roi.AssistedFreehand/set.Image
Error in images.roi.AssistedFreehand/setAndCheckImage
Error in drawassisted (line 209)
h.setAndCheckImage();
  댓글 수: 5
xi
xi 2019년 10월 11일
version = '9.6.0.1114505 (R2019a) Update 2'
Thanks for looking into this!
xi
xi 2019년 10월 11일
Hi Siriniharika,
Thanks for you time! I find out the reason. There is another "rescale.m" that overrides.
I installed a software written in matlab, which added its own folder to the matlab path, where the new rescale.m belongs too. It overrides!

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by