How to rectify it? am much more suffering by this

2 Comments

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?
[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)

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

Asked:

on 28 Nov 2022

Answered:

on 25 Jan 2023

Community Treasure Hunt

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

Start Hunting!