Matlab compatibility with Open Broadcaster Software


I am trying to record my matlab experiment as it runs in real time using OBS (Open Broadcaster Software). I have also added a web camera in my OBS window to record my research participants’ resposes in real time. Our setup is like this: I control the matlab program from my mac outside the experiment room as the program runs on an extended screen inside the room. We record participant resposes using a camera placed in front of the participant (under the exnteded screen). When I open OBS, to record the matlab program and the output from the webcam on a same screen, I am getting the following error.

Error using Screen
See error message printed above.

Error in icc (line 188)
wind = Screen(‘OpenWindow’, max(Screen(‘Screens’)));

Can anyone assist me with this issue? I do not get this error when I run the program on an extended screen without OBS. 

Thank you,


Hi @girija26,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information.

As you’ll notice, your Topic is now in the Project Development Help board. No action is needed on your part; you can continue the conversation as normal here.

Let me know if you have any other questions or if I can help with anything else.