MATLAB: How to get rid of these problems fullscreen, browser from a file and efficiency

browserefficientfullscreenguiguideimageimage processingimagesloadloopmaximize figurepauseslideshowstartstop

Hi;
I am designing slideshow interface with guide. But I have some problems ;
  • 1) How to make fullscreen guide ( I've tried Yair's metod and it did not work ) and ( set(gcf, 'units','norm','Outerposition',[0 0 1 1]) as well.
  • 2) For the slideshow, I have to select a file which contains images. But I can open just specific file that I declared (***** myFolder = 'C:\Users\Atacan\2015-09-27'; ****** line 122). I need to access other files. I could not find way to do this.
  • 3) When I run this code can not detect my commands(bush and toggle buttons) immediately. Is there any advice to make it more efficient or better way to this.( I have i7 processor and 16 gb ram)
If you find any problem please let me know.
Notes about the code;
If there is no image or end of the slideshow screen is become black. Black.jpg for this reason.
If the show end, time will be 0:0:0.
Fullscreen problem

Best Answer

Answer of 2nd question
myFolder = PathName;
filePattern = fullfile(myFolder, '*.jpg');
jpegFiles = dir(filePattern);
baseFileName = jpegFiles(k).name;
fullFileName = fullfile(myFolder, baseFileName);
imageArray = imread(fullFileName);
imshow(imageArray);