The package contains an m file for displaying fullscreen matlab images. The user can specify the display number for the image to be shown. This is a cross platform solution using Java function built into Matlab 7.x and has been tested on Windows and Linux machines.
Very useful file, however I do have a problem, I need to send an image to two external screens (besides the main computer screen), and when I manage to display one then the other cannot be displaying at the same time. By the way I had to use closescreen() right after the first use of fullscreen(im, scr_number), otherwise it did not work. Is there any way to modify fullscreen.m to address two external screens at the same time ? Actually I managed to do it but using 2 matlab sessions, one for each additional screen... Thanks in advance for any help.
I have one more question. When I display one image in the second monitor with function "fullscreen", I would like to do something else in the first monitor. It seems that the image would stop showing once I do something else. Is there any way that I can keep showing the image in second monitor at the same time? Thanks!
Thank you for your submission, but it doesn't seem to function the same on all systems.
I am using R2010a on OS X 10.6.8.
My use case is two monitors where I would like to have the fullscreen image shown only on one monitor. Currently 'fullscreen' shows the image on both monitors, leaving no way out but to quit Matlab. This happens regardless of whether I use monitor '1' or '2'.
I have read through all the comments and I haven't found a fix for displaying the image on only one monitor. I guess if the desktop would still be visible after launching 'fullscreen', one could use 'closescreen' to get out of the fullscreen mode.
In Windows 7 with Matlab 2010b, the JFrame set to fullscreen via setFullScreenWindow(myjframe) iconifies when it looses the focus.
To prevent this behavior you can set the location of the frame via setLocation (as it is being done right now) and also set the dimensions of the frame to the screen resolution via setSize(bounds.height, bounds.width).