필터 지우기
필터 지우기

How to show images in a GUI table

조회 수: 3 (최근 30일)
Mark M
Mark M 2017년 7월 8일
댓글: Walter Roberson 2018년 6월 6일
Hello,
I am trying to run a GUI that will load an excel file into a uitable. I want some of the cells of that tables to show images, or at least perhaps a thumbnail to the image. Is this possible?

답변 (1개)

Walter Roberson
Walter Roberson 2017년 7월 9일
My experiences suggest that you probably will not be happy with the results, as you cannot control the cell sizes the way you might hope. The cell size that will be automatically chosen will depend upon the size of the URL string, not the size of the image being inserted.
You could probably do better using the Java level; http://undocumentedmatlab.com has some articles about uitable and java.
  댓글 수: 2
fareed jamaluddin
fareed jamaluddin 2018년 6월 1일
if i need to display an imcrop of image into the uitable do i need to imwrite it first as .png file first then display it using the html method?
Walter Roberson
Walter Roberson 2018년 6월 6일
It probably does not need to be png specifically, but png is known to work. It could probably be jpg or bmp . Possibly not tiff though.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by