How do I display images in App designer ?
30 次查看(过去 30 天)
显示 更早的评论
image_train is a 3 dimentional matri. I want to display images in App-Designer.
% image_train is a 3 dimentional matrix. I want to display images in App designer
% imshow is not helping.
methods (Access = private)
% Value changed function: ImageSpinner
function ImageSpinnerValueChanged(app, event)
value = app.ImageSpinner.Value;
image_now = app.image_train(:,:,value);
%image_now = rand(50,50)
%imshow(app.UIAxes,image_now);
imshow(app.Image,image_now);
end
end
0 个评论
回答(1 个)
Jemima Pulipati
2021-2-20
编辑:Jemima Pulipati
2021-2-20
Hello,
From my understanding, you want to display images in app designer.
You may consider using the 'Parent' option for the imshow() function.
The following answers from the community might be of relevance to you.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!