Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Function Callback going to a different line

1 Ansicht (letzte 30 Tage)
Marcus Blackburn
Marcus Blackburn am 5 Apr. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
When a GUI is running and a callback (like a buttonpress) is initiated, it goes to the callback, does the thing the callback tells it to, then goes back to the line of code it was on before the callback was initiated. How do you get it to go to a different line of code after the callback? If clarification is needed I can provide it. It's an odd question.
  4 Kommentare
Jan
Jan am 5 Apr. 2017
This is a limitation of imrect. You could use rbbox or dragrect instead. Or start imrect only by a callback of the WindowsButtonDownFcn, when the mouse is pressed. Then you can proceed with the code freely.
Marcus Blackburn
Marcus Blackburn am 5 Apr. 2017
Thank you

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by