I am trying to add images to my uifigure but I face the following error
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Zainab Riyadh
am 2 Mai 2023
Beantwortet: Walter Roberson
am 2 Mai 2023
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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 2 Mai 2023
The 'Icon' option became available in R2022a, which is the release after what you are using.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Develop uifigure-Based Apps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!