Clear Filters
Clear Filters

How to rectify it? am much more suffering by this

2 views (last 30 days)
  2 Comments
Steven Lord
Steven Lord on 28 Nov 2022
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 on 29 Nov 2022
[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)

Sign in to comment.

Answers (1)

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

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!