I am trying to add images to my uifigure but I face the following error
조회 수: 1 (최근 30일)
이전 댓글 표시
I have the follwing code for inserting images in uifigure, the images should appear as a small icon, but they don't.
fig3=uifigure('Name','Summary Report3');
table33 = uitable('Parent', fig3, 'Position', [10 5 500 400], 'Data', T);
for i = 1:height(T)
imgStyle = uistyle("Icon",T.Image(i));
addStyle(table33, imgStyle, 'cell', [i,1])
end
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1372069/image.png)
댓글 수: 2
채택된 답변
Walter Roberson
2023년 5월 2일
The 'Icon' option became available in R2022a, which is the release after what you are using.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop uifigure-Based Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!