How do I display images in App designer ?
조회 수: 27 (최근 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!