How to rectify it? am much more suffering by this

2 次查看(过去 30 天)
  2 个评论
Steven Lord
Steven Lord 2022-11-28
Can you show us the line of code where you try to add the uiaxes to the app and a few lines before and after (say 5 lines) for context?
MATHANA GOPAL A
MATHANA GOPAL A 2022-11-29
[filename,filepath] = uigetfile({ '*.*;*.jpg;*.png;*.bmp;*.oct' }, 'Select File to Open');
fullname = [filepath, filename];
file = imread(fullname);
global pic;
pic=im2gray(file);
image1=im2double(pic);
imshow(image1, 'parent', app.UIAxes)

请先登录,再进行评论。

回答(1 个)

Nikhilesh
Nikhilesh 2023-1-25
The issue is not reproducable on my end. Please check assess of the properties.
You can also refer the following documentation

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by