How do I display images in App designer ?

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

Categorías

Más información sobre Develop Apps Using App Designer en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 17 de Feb. de 2021

Editada:

el 20 de Feb. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by