Screen goes black and can't recover

Hi
So I have this script - it runs fine on my desktop in my office but when I run it on my lab computer it shows the calibration screen but then goes black - following the display command (which is the start of the main experiment body). I tried on another different computer in the lab (with different hardware) and it has the same issue.
There is not a great deal of difference between the computers not identical but similar generic office far - intel hardware, dell machines, running windows 10, one of the computers not working has a 2021 version of matlab but another has a pretty recent version, same as the working computer.

I am struggling with debugging and fixing - any ideas?

Add a call to PsychDebugWindowConfiguration before opening the screen, so that your window is transparent. Then you can see through it, and properly find what the error is that occurs (I’m guessing your script is blocked because some error occurs, but you can’t see it since there is a window blocking the matlab command line)

1 Like

ok thanks have fixed it now.