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
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!