MATLAB: Dicom file in app designer

app designerappdesignerdicomimshow

I can't show image of dicom file in UIAxes in app designer , how i can show dicom image in UI Axes

Best Answer

You just need to specify the UIAxis handle in your app.
Here's a functional demo using a built-in dcm file.
info = dicominfo('CT-MONO2-16-ankle.dcm');
Y = dicomread(info);
app.Figure = uifigure(); % you won't need this line

app.UIAxes = uiaxes(uif); % you won't need this line
imshow(Y,[],'Parent',app.UIAxes); % replace app.UIAxes with your axis handle.
% ^^^^^^^^^^^