Error displaying custom Data Tips
13 ビュー (過去 30 日間)
古いコメントを表示
I've created a callback to displaying Data Tips on a pointcloud (pcshow) after the space bar is pressed. The flow is:
- Press on the space bar
- click on a point
- custom data tips appear
At first, the DataTip shows an error message, but if I click on the data tip or in general over the figure, the correct data tip appears and the error message does not show again. How can I avoid the appearence of that message? Where should I look for the problem?
Error message: unable to update data tip using custom update function.
Thank you.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/552602/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/552607/image.png)
3 件のコメント
Asvin Kumar
2021 年 3 月 22 日
Hey, this is going to be hard to debug. I'm out of bandwidth at the moment and won't be able to look into it immediately.
A few suggestions to make it easier for others in the community:
- Provide a way to reproduce the behaviour. Maybe provide some code which people can quickly execute and start tinkering with.
- Or, if possible, come up with a short demo of your problem by just using scatter plot like in this example.
- Provide more details on waitforbuttonpress() because it seems like you've added that to work around your problem. What does it do? Does it work?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!