Error using function "drawassisted"

2 ビュー (過去 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 Center および File ExchangeData Type Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by