MATLAB Answers


Wild screen display with rbbox in 2016a. Need help

Asked by Song
on 3 Mar 2017
Latest activity Commented on by Swathi Iyer on 10 May 2017
I just found out that the behavior of rbbox() on my computer is quite wild. I tried the example code from help document, and if I click on the figure, the half of my screen gets distorted (see screenshot). After I press win+D and refresh the screen, everything goes fine.
So what's wrong with rbbox() and is there a remedy for that?


Sign in to comment.


2 Answers

Answer by Walter Roberson
on 3 Mar 2017
 Accepted Answer


Hello Walter, after trying a little, I think I get a workaround by myself.
I added a while endless loop, watching for the mousebuttonup event, and then let the program flow go further. At least this solve the issue with distorted screen and still give me the same functionality, even though now no box lines can be seen. :P
Sorry, I am not familiar with the details of this or how to work around the associated Windows bugs (other than to roll back the problem Windows updates.)
There is a solution for this problem. Please see the link in the next answer!

Sign in to comment.