Data Cursor Problem wtih Alt-Click
Mostrar comentarios más antiguos
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 comentario
Mel
el 2 de Jun. de 2011
Respuesta aceptada
Más respuestas (1)
Richard
el 2 de Jun. de 2011
0 votos
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 comentarios
Mel
el 2 de Jun. de 2011
Richard
el 2 de Jun. de 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
el 5 de Jun. de 2011
Categorías
Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!