How to display a scrollable grid of images in Matlab GUI

How can I display a scrollable grid of images in the Matlab GUI?

I need something similar to what is shown below

enter image description here

This stackoverflow post article describes how to display images in a convenient way by setting the String property to HTML code that points to the image. But for this I need to save the images to disk, which is not an option that I would like, since these displays start up dynamically.

It would be nice if I could add a checkbox inside each image so that the user can select a subset of them.

+6
source share
2 answers

You can use this tool . In gui you can scroll. But to have a title under each image, you may need to edit the tool.

Output Example: Image Grid http://www.mathworks.in/matlabcentral/fx_files/22387/12/imdisp.jpg

+4
source

The answer is here:

How to use scrollbars in MATLAB digit windows when viewing large graphical interfaces?

-> Note. This is a workaround, scrollbars are not available for Matlab shapes.

I would suggest using the Prashanth tool provided in its awnswer and combining it by placing all the elements inside the panel.

+1
source

Source: https://habr.com/ru/post/952698/


All Articles