Data Cursor Problem wtih Alt-Click
Show older comments
In the past I have always used the Alt-Click to add extra cursors without need to right click and select 'add new cursor'. I made some recent modifications to my code and now I get errors when I use the Alt-Click method. But the code runs perfectly if I use the longer method of right clicking. Any reason for this sudden and strange behaviour in a GUI?
Accepted Answer
More Answers (1)
Richard
on 2 Jun 2011
0 votes
Mel, At a glance this doesn't look like it can be directly caused by data cursors: it looks like a missing function in your gui function Seg_gui. If you post your actual code maybe we can make more sense of it.
Richard
3 Comments
Mel
on 2 Jun 2011
Richard
on 2 Jun 2011
OK, that explains some part of the error: when you press Alt, the first menus is selecting, and I think the callback of that top-level menu is being executed. Does your GUI have menus? Do you create them in your code?
These questions could be answered if we can see -maybe even part of - your code. The error message clearly indicates that the error happens in Seg_gui. Is Seg_gui your code?
Mel
on 5 Jun 2011
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!