Error displaying custom Data Tips
显示 更早的评论
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.


3 个评论
Asvin Kumar
2021-3-19
Please share your code on what you're currently doing so that the community can help you. It's hard to suggest solutions when we don't know what's going on in the first place.
If possible, share only the minimum relevant code. 100s of lines of code would only confuse anyone who is interested to help.
Veronica Taurino
2021-3-19
编辑:Veronica Taurino
2021-3-23
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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Image Arithmetic 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!