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.
OK it could work now with several external screens : just need to give different names to the global variables (frame_java, etc.)... Thanks again for this useful function !
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.
A very good function. I am wondering how to add the re-size and re-position in this one or simply let the full screen display whatever has been changed in the original figure(display the re-sized).
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.
I found the solution: under Linux it is important to have the second screen activated at the moment MATLAB starts. ( http://www.mathworks.ch/help/techdoc/ref/rootobject_props.html )
Very nice, but I have a problem.
It can't display the fullscreen image under Linux 2.6.24 and X.Org X Server 1.6.4 on the second screen. Is there any solution?
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).
It works well in Windows 7; however, I shared my code with an OSX user and it apparently only displays a black screen instead of an image. Any suggestions?