Data Cursor Problem wtih Alt-Click
Mostra commenti meno recenti
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?
1 Commento
Mel
il 2 Giu 2011
Risposta accettata
Più risposte (1)
Richard
il 2 Giu 2011
0 voti
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 Commenti
Mel
il 2 Giu 2011
Richard
il 2 Giu 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
il 5 Giu 2011
Categorie
Scopri di più su Interactive Control and Callbacks in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!