How do I display images in App designer ?

19 ビュー (過去 30 日間)
Ravi Rahul Kumar Shah
Ravi Rahul Kumar Shah 2021 年 2 月 17 日
編集済み: Jemima Pulipati 2021 年 2 月 20 日
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

回答 (1 件)

Jemima Pulipati
Jemima Pulipati 2021 年 2 月 20 日
編集済み: Jemima Pulipati 2021 年 2 月 20 日

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by