Trouble with impoly (open) misinterpreting mouse click

1 回表示 (過去 30 日間)
CAM
CAM 2019 年 7 月 22 日
回答済み: Shashwat Bajpai 2019 年 8 月 8 日
Our users need to find the area under a curve. We use impoly (open), and they trace the curve on an image. However they are having an intermittant and unpredictable problem where part way through their tracing, Matlab ends the trace -- as if it has read a double-click, instead of a single-click. The users have already tried tracing slower and being careful to only click once per point, but the problem still occasionally occurs.
I have been unable to locate a similar problem, let along solution, during internet searches.
Any help you can offer would be greatly appreciated.
  1 件のコメント
CAM
CAM 2019 年 7 月 25 日
Further internet searches reveal that this could be a WIndows-10 issue. Many users report the double-click misinterpretation in general with that OS. We are attempting some of the suggested solutions that are easier to implement (change mouse double-click speed and plugging mouse directly into the computer, instead of a USB hub or docking station).

サインインしてコメントする。

回答 (3 件)

Shashwat Bajpai
Shashwat Bajpai 2019 年 8 月 7 日
I was unable to reproduce the problem on my end on Windows-10. Please try re-installing MATLAB and contact technical support if the problem still persists.

CAM
CAM 2019 年 8 月 7 日
The users are running a compiled version of the application with Matlab runtime. I do not get the error on my development computer, because it is not running Win10. So reinstalling Matlab will not solve this issue.
I am wondering if writing a subclass of impoly that intercepts the double-click will do the trick.

Shashwat Bajpai
Shashwat Bajpai 2019 年 8 月 8 日
I would suggest using the drawpolygon function if the problem is still persisting. Even MATLAB suggests using drawpolygon instead of impoly.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by